添加页面

This commit is contained in:
gongxh
2021-04-30 16:38:56 +08:00
parent ad23ae5dcb
commit e8dff8f15f

View File

@@ -43,7 +43,7 @@ module.exports = {
.test(/ivuew.src.*?js$/) .test(/ivuew.src.*?js$/)
.use('bable') .use('bable')
.loader('bable-loader') .loader('bable-loader')
.end() .end()``
// config.externals({ // config.externals({
// vue: 'vue', // vue: 'vue',
// vuex: 'vuex', // vuex: 'vuex',
@@ -58,7 +58,7 @@ module.exports = {
disableHostCheck: true, disableHostCheck: true,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://localhost:5000', // 接口域名 target: 'http://localhost:61448', // 接口域名
changeOrigin: true, // 是否跨域 changeOrigin: true, // 是否跨域
pathRewrite: {} pathRewrite: {}
} }