MyBlog/zhi-vue-ui/vue.config.js

22 lines
446 B
JavaScript

module.exports = {
transpileDependencies: ["vuetify"],
devServer: {
proxy: {
"/api": {
target: "http://localhost:8080",
changeOrigin: true,
pathRewrite: {
"^/api": ""
}
},
},
disableHostCheck: true
},
productionSourceMap: false,
css: {
extract: true,
sourceMap: false
}
};