alex8088 / quick-start

An easy way to start a front-end project.
MIT License
248 stars 34 forks source link

项目打包后白屏 #35

Closed DongAndDi closed 4 months ago

DongAndDi commented 4 months ago

Describe the bug

使用的是react-ts项目,项目正常运行没问题。但在windows平台打包后运行exe,应用白屏,无任何渲染进程的展示。

Used Scaffolding

create-electron

Used Package Manager

yarn

Validations

alex8088 commented 4 months ago

https://cn.electron-vite.org/guide/troubleshooting#vue-router-%E6%88%96-react-router-dom-%E5%BC%80%E5%8F%91%E6%A8%A1%E5%BC%8F%E6%AD%A3%E5%B8%B8-%E4%BD%86%E5%9C%A8%E6%9E%84%E5%BB%BA%E5%90%8E%E6%97%A0%E6%95%88

DongAndDi commented 4 months ago

https://cn.electron-vite.org/guide/troubleshooting#vue-router-%E6%88%96-react-router-dom-%E5%BC%80%E5%8F%91%E6%A8%A1%E5%BC%8F%E6%AD%A3%E5%B8%B8-%E4%BD%86%E5%9C%A8%E6%9E%84%E5%BB%BA%E5%90%8E%E6%97%A0%E6%95%88

感谢~