fix: 生产打包编译报错问题修复
Former-commit-id: 3998de871def78ea6f61b3ecd368411d50a2c6f9
This commit is contained in:
1 parent
eab11687aa
commit
d0660ab59d
7 files changed
+129
-120
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
|
||||
],
|
||||
// 本地反向代理解决浏览器跨域限制
|
||||
server: {
|
||||
host: 'localhost',
|
||||
host: '0.0.0.0',
|
||||
port: Number(env.VITE_APP_PORT),
|
||||
open: true, // 运行自动打开浏览器
|
||||
proxy: {
|
||||
|
||||
Reference in new issue
Block a user