MeterSphere/frontend/vue.config.js

28 lines
521 B
JavaScript
Raw Normal View History

2020-02-03 14:01:28 +08:00
module.exports = {
2020-07-09 17:04:34 +08:00
productionSourceMap: true,
configureWebpack: {
devtool: 'source-map'
},
devServer: {
port: 8080,
proxy: {
['^(?!/login)']: {
target: 'http://localhost:8081',
ws: true,
}
}
},
pages: {
business: {
entry: "src/business/main.js",
template: "src/business/index.html",
filename: "index.html"
2020-02-03 14:01:28 +08:00
},
2020-07-09 17:04:34 +08:00
login: {
entry: "src/login/login.js",
template: "src/login/login.html",
filename: "login.html"
2020-02-03 14:01:28 +08:00
}
2020-07-09 17:04:34 +08:00
}
2020-02-03 15:16:37 +08:00
};