Open anyone-yuren opened 10 months ago
尝试了2.9.6与2.9.8都是同样的问题。
请问解决了吗
解决了,得看你具体的项目结构是怎么样的。如何注入生产环境的。
可以参考下我的项目配置: https://github.com/anyone-yuren/react-antd-admin-pnpm/blob/master/internal/vite-config/src/plugins/mock.ts
受教了,感谢大佬!!
尝试了2.9.6与2.9.8都是同样的问题。