chore: update configuration of environment;

master
chenghongxing 4 years ago
parent b0fc3a943e
commit 345b46bf6f
  1. 1
      .env
  2. 1
      .gitignore
  3. 2
      vue.config.js

@ -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

@ -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…
Cancel
Save