mirror of
https://github.com/TanelOrumaa/Estonian-ID-card-mobile-authenticator-POC.git
synced 2024-06-26 13:10:12 +03:00
36 lines
1022 B
JavaScript
36 lines
1022 B
JavaScript
// vue.config.js
|
|
module.exports = {
|
|
chainWebpack: config => {
|
|
config.module.rule('vue').uses.delete('cache-loader');
|
|
config.module.rule('js').uses.delete('cache-loader');
|
|
config.module.rule('ts').uses.delete('cache-loader');
|
|
config.module.rule('tsx').uses.delete('cache-loader');
|
|
},
|
|
// https.//cli.vuejs.org/config/#devserver-proxy
|
|
devServer: {
|
|
port: 3000,
|
|
proxy: {
|
|
"/auth": {
|
|
target: "http://localhost:8080",
|
|
ws: true,
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
},
|
|
pages: {
|
|
index: {
|
|
entry: "./src/pages/home/main.js",
|
|
template: "public/index.html",
|
|
filename: "index.html",
|
|
title: "Home",
|
|
chunks: [],
|
|
},
|
|
legal: {
|
|
entry: "./src/pages/legal/main.js",
|
|
template: "public/index.html",
|
|
filename: "legal.html",
|
|
title: "Legal",
|
|
chunks:,
|
|
}
|
|
}
|
|
} |