|
|
@ -10,7 +10,15 @@ module.exports = {
|
|
|
|
// Paths
|
|
|
|
// Paths
|
|
|
|
assetsSubDirectory: 'static',
|
|
|
|
assetsSubDirectory: 'static',
|
|
|
|
assetsPublicPath: '/',
|
|
|
|
assetsPublicPath: '/',
|
|
|
|
proxyTable: {},
|
|
|
|
proxyTable: {
|
|
|
|
|
|
|
|
//本地数据mock
|
|
|
|
|
|
|
|
'/api': {
|
|
|
|
|
|
|
|
target: 'http://localhost:8080',
|
|
|
|
|
|
|
|
pathRewrite: {
|
|
|
|
|
|
|
|
'^/api': '/static/mock'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
// Various Dev Server settings
|
|
|
|
// Various Dev Server settings
|
|
|
|
host: 'localhost', // can be overwritten by process.env.HOST
|
|
|
|
host: 'localhost', // can be overwritten by process.env.HOST
|
|
|
|