|
@@ -7,7 +7,7 @@ const path = require('path')
|
|
|
module.exports = {
|
|
|
dev: {
|
|
|
// Paths
|
|
|
- assetsSubDirectory: 'static',
|
|
|
+ assetsSubDirectory: '/',
|
|
|
assetsPublicPath: '/',
|
|
|
proxyTable: {
|
|
|
'/api': {
|
|
@@ -70,9 +70,9 @@ module.exports = {
|
|
|
|
|
|
// Paths
|
|
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
|
- assetsSubDirectory: '/hyy-alarm/static',
|
|
|
+ assetsSubDirectory: 'hyy-alarm/static',
|
|
|
assetsPublicPath: '/',
|
|
|
-
|
|
|
+ staticPath: './', //生产环境 staticPath:''
|
|
|
/**
|
|
|
* Source Maps
|
|
|
*/
|