Make app title configurable

Issue #123
This commit is contained in:
N-Pex 2021-05-19 13:22:28 +02:00
parent 5276a46afa
commit 3c60ad4f14
3 changed files with 15 additions and 4 deletions

View file

@ -7,7 +7,15 @@ module.exports = {
? './'
: './',
devServer: {
https: true
},
chainWebpack: config => {
config.plugin('html').tap(args => {
var c = require("./src/assets/config.json");
args[0].title = c.appName;
return args;
})
},
devServer: {
//https: true
},
}