上传前端测试
This commit is contained in:
23
vuetify-test/vue.config.js
Normal file
23
vuetify-test/vue.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
// publicPath: './',
|
||||
transpileDependencies: [
|
||||
'vuetify'
|
||||
],
|
||||
devServer: {
|
||||
port: 6789,
|
||||
open: true,
|
||||
https: false,
|
||||
host: "localhost",
|
||||
proxy: {
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
target: process.env.VUE_APP_SERVICE_URL,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
lintOnSave: false, //关闭格式检查
|
||||
productionSourceMap: false
|
||||
}
|
||||
Reference in New Issue
Block a user