添加前端

This commit is contained in:
橙子
2022-04-26 01:34:47 +08:00
parent f3061ed643
commit 630cfb6769
99 changed files with 5239 additions and 0 deletions

23
Yi.Vue2.x/vue.config.js Normal file
View 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
}