Replies: 1 comment
-
已经处理掉了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
在用vben做个人数据管理,所以没有后端,全都是本地数据。就直接走mock了,所以需要在生产环境也开启mock。
看到官方文档上写
在 web/.env.production 里开启
打包之后,mock数据仍然无法生效
怎么才能在生产环境也使用mock数据呢? @anncwb 大佬能否解答一下呢
Beta Was this translation helpful? Give feedback.
All reactions