打包静态资源路径改为相对路径

This commit is contained in:
macro 2019-11-12 21:50:32 +08:00
parent dfaec3b364
commit e0930ab8a0

View File

@ -43,7 +43,7 @@ module.exports = {
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
assetsPublicPath: './',
/**
* Source Maps