MeterSphere/frontend/vue.config.js

27 lines
611 B
JavaScript
Raw Normal View History

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