mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 07:27:06 +08:00
chore: update configuration of environment;
This commit is contained in:
parent
b0fc3a943e
commit
345b46bf6f
1
.env
1
.env
@ -1,3 +1,4 @@
|
||||
VUE_APP_PUBLIC_PATH=/
|
||||
VUE_APP_NAME=Admin
|
||||
VUE_APP_ROUTES_KEY=admin.routes
|
||||
VUE_APP_PERMISSIONS_KEY=admin.permissions
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ selenium-debug.log
|
||||
*.njsproj
|
||||
*.sln
|
||||
package-lock.json
|
||||
.env.production.local
|
||||
|
@ -110,7 +110,7 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
},
|
||||
publicPath: isProd ? '/vue-antd-admin/' : '/',
|
||||
publicPath: process.env.VUE_APP_PUBLIC_PATH,
|
||||
outputDir: 'dist',
|
||||
assetsDir: 'static',
|
||||
productionSourceMap: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user