// vue3 vue.config.js
重新配置vue.config.js
const { defineConfig } = require('@vue/cli-service')
module.exports = {
// 跳过检查host
devServer: { historyApiFallback: true,
allowedHosts: "all", }
}
// vue3 vue.config.js
重新配置vue.config.js
const { defineConfig } = require('@vue/cli-service')
module.exports = {
// 跳过检查host
devServer: { historyApiFallback: true,
allowedHosts: "all", }
}