English 中文(简体)
在单一波项目中与Vite公司建立再处理申请时,在浏览器上没有标识的空白页
原标题:Got a blank page without logs on browser console when building a React application with Vite in a monorepo project

I am trying to build my React app (in a monorepo that setup with Turborepo) with vite build and start it locally with vite preview . I got a blank page without any logs in the browser console. I use Stitches to style my app and look like CSS loaded normally, but it looks like no JavaScript is loaded.

Tried:

  • Set base option in vite.config.ts to ./ but nothing happens.

可在my public repo上查到。

问题回答

暂无回答




相关问题
dotenv doesn t work in monorepo s packages folder

I am using monorepo structure using yarn berry(3.6) workspace. Since our API URLs are almost identical, we plan to create and use API EndPoints inside the packages. However, in the process of using ...

How to use one react app into another react app?

I have two react apps, parent app and child app. and child app have an hash router. I have build the child app using npm run build, It creates build folder. That build folder moved into inside the ...

how to get selected value in Ant Design

I want to print the selected value, and below is my option list: const vesselName = [ { value: 0 , label: ALBIDDA , }, { value: 1 , label: ALRUMEILA , }, { value: 2 ,...

热门标签