vue打包出现白屏怎么解决?
只需要在vue.config.js里面配置以下代码即可
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
publicPath:process.env.NODE_ENV==='production'?'./':'/'
})
浙公网安备 33010602011771号