[Update] 添加路由

This commit is contained in:
ibuler
2020-03-20 17:59:54 +08:00
parent e1741fa1f6
commit 34a6c08f2d
8 changed files with 184 additions and 1634 deletions

View File

@@ -41,7 +41,7 @@ module.exports = {
// change xxx-api/login => mock/login
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost`,
target: `http://localhost:8080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''