goal
vue-cli脚手架生成的项目,想要配置webpack下的output.publicPath选项
配置1
module.exports = {
configureWebpack: {
publicPath: 'http://localhost:8080/',}
}
报错
configuration has an unknown property ‘publicPath’. These properties are valid: output?
理解:需要在output下配置
配置2
module.exports =