1.在vue.config.js中配置publicPath:"./"
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
publicPath:"./",
devServer:{
}
})
1.在vue.config.js中配置publicPath:"./"
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
publicPath:"./",
devServer:{
}
})
本文标题:解决vue打包后空白页面问题
本文链接:https://www.haomeiwen.com/subject/syfokdtx.html
网友评论