MeterSphere/frontend/vue.config.js

27 lines
620 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: {
performance: {
entry: "src/performance/main.js",
template: "src/performance/index.html",
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
};