InternetCompetition/vue.config.js

21 lines
509 B
JavaScript

const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false,
// publicPath: '/app1/', //英文打包
devServer: {
client: { //加上这个就好了
overlay: false,
},
// proxy: {
// "/Handler": {
// target: "http://172.16.1.254:10014/Handler",
// pathRewrite: { "^/Handler": "" },
// secure: false,
// changeOrigin: true,
// },
// },
},
});