config/index.js
build: {
env: require('./prod.env'),
index: path.resolve(__dirname, '../xxx/index.html'),
assetsRoot: path.resolve(__dirname, '../xxx'),
assetsSubDirectory: 'static',
},
build: {
env: require('./prod.env'),
index: path.resolve(__dirname, '../xxx/index.html'),
assetsRoot: path.resolve(__dirname, '../xxx'),
assetsSubDirectory: 'static',
},
本文标题:项目打包,打包文件不是dist,更改为xxx/static模式
本文链接:https://www.haomeiwen.com/subject/awvdihtx.html
网友评论