添加页面
This commit is contained in:
@@ -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: {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user