vue index.js文件源码
'use strict'
// Template version: 1.2.7
// see http://vuejs-templates.github.io/webpack for documentation.
const
path =
require(
'path')
module.
exports = {
dev: {
// Paths
assetsSubDirectory:
'static',
assetsPublicPath:
'/',
changeOrigin:
true,
proxyTable: {
'/api'
: {
target:
'https://api.it120.cc/fengyu',
changeOrigin:
true,
pathRewrite: {
'^/api'
:
''
}
},
'/book'
: {
target:
'http://api.zhuishushenqi.com/',
changeOrigin:
true,
pathRewrite: {
'^/book'
:
''
}
},
},