脚手架5.X对应的是VUE3.0,所以应该修改vue.config.js文件下面的配置:
module.exports = {
publicPath: './',
assetsDir: 'static',
parallel: false,
}
重新编译打包,再次运行index结果成功,显示出来
脚手架5.X对应的是VUE3.0,所以应该修改vue.config.js文件下面的配置:
module.exports = {
publicPath: './',
assetsDir: 'static',
parallel: false,
}
重新编译打包,再次运行index结果成功,显示出来