umi
umi copied to clipboard
[Bug] 引入daypilot-pro-react组件build以后页面无法访问,本地start:dev可以访问
What happens?
引入daypilot-pro-react组件build以后页面无法访问,本地start:dev可以访问
本地 npm run start:dev 可以的,但是npm run build 以后丢到服务器上就不行了。
报代码错误。
请问各位大佬有办法解决吗
Mini Showcase Repository(REQUIRED)
Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库
仓库 https://github.com/Pentium286/aaa
How To Reproduce
Steps to reproduce the behavior: 1. 2.
1、npm run start:dev 可以看到页面
2、npm run build 放到服务器上页面报错
Expected behavior 1. 2.
Context
- Umi Version: 3.5.0
- Node Version:v16.20.2
- Platform: mac
各位大佬求救🆘
有大佬吗