添加generator

This commit is contained in:
liujiangtao
2020-07-25 18:05:03 +08:00
parent 9e73f6c52b
commit 09c0cc80ee
11 changed files with 242 additions and 169 deletions

View File

@ -6,7 +6,7 @@ function resolve(dir) {
return path.join(__dirname, dir)
}
const name = defaultSettings.title || '若依管理系统' // 标题
const name = defaultSettings.title || '小象智租' // 标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口
@ -33,7 +33,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
target: `http://localhost:8080/prod-api/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''