|
@@ -24,9 +24,7 @@ module.exports = {
|
|
|
* In most cases please use '/' !!!
|
|
|
* Detail: https://cli.vuejs.org/config/#publicpath
|
|
|
*/
|
|
|
- /* publicPath: process.env.NODE_ENV === 'production'
|
|
|
- ? '/vue-admin/'
|
|
|
- : '/', */
|
|
|
+ // publicPath: process.env.NODE_ENV === 'production' ? '/vue-admin/' : '/',
|
|
|
publicPath: '/',
|
|
|
outputDir: 'dist',
|
|
|
assetsDir: 'static',
|
|
@@ -38,7 +36,7 @@ module.exports = {
|
|
|
overlay: {
|
|
|
warnings: false,
|
|
|
errors: true
|
|
|
- },
|
|
|
+ }/* ,
|
|
|
proxy: {
|
|
|
// change xxx-api/login => mock/login
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
@@ -50,7 +48,7 @@ module.exports = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- before: require('./mock/mock-server.js')
|
|
|
+ before: require('./mock/mock-server.js') */
|
|
|
},
|
|
|
configureWebpack: {
|
|
|
// provide the app's title in webpack's name field, so that
|