- add further views

- also use constants via Webpack DefinePlugin
This commit is contained in:
Arno Kaimbacher 2021-11-30 15:26:40 +01:00
commit 2c0c67cd64
11 changed files with 144 additions and 115 deletions

View file

@ -1,3 +1,24 @@
const webpack = require('webpack');
module.exports = {
publicPath: "/"
publicPath: "/",
// chainWebpack: config => {
// config
// .plugin('define')
// .tap(args => {
// args[0] = {
// ...args[0],
// VUE_APP_PORTAL: JSON.stringify(process.env.PORTAL),
// // other stuff
// }
// return args
// })
// },
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
VUE_APP_PORTAL: JSON.stringify(process.env.VUE_APP_PORTAL),
}),
],
},
}