|
@@ -6,7 +6,7 @@ module.exports = {
|
|
|
index: path.resolve(__dirname, '../dist/index.html'),
|
|
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
|
assetsSubDirectory: 'static',
|
|
|
- assetsPublicPath: '/vue-admin/',
|
|
|
+ assetsPublicPath: './',
|
|
|
productionSourceMap: true,
|
|
|
productionGzip: false,
|
|
|
productionGzipExtensions: ['js', 'css'],
|
|
@@ -17,7 +17,7 @@ module.exports = {
|
|
|
port: 8090,
|
|
|
autoOpenBrowser: true,
|
|
|
assetsSubDirectory: 'static',
|
|
|
- assetsPublicPath: '/',
|
|
|
+ assetsPublicPath: './',
|
|
|
proxyTable: {
|
|
|
'/api': {
|
|
|
target: 'http://192.168.101.6:8099', // 接口域名 开发
|