- add site title to vue.config

- lnaguage tag for html page
- change portal api to new subdomain
This commit is contained in:
Arno Kaimbacher 2021-12-23 14:54:17 +01:00
commit fb40b230d9
3 changed files with 18 additions and 9 deletions

View file

@ -1,4 +1,4 @@
const webpack = require('webpack');
const webpack = require("webpack");
module.exports = {
publicPath: "/",
@ -14,11 +14,18 @@ module.exports = {
// return args
// })
// },
configureWebpack: {
pages: {
index: {
// entry for the page
entry: "src/main.ts",
title: "TETHYS - Research Data Repository",
},
},
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
VUE_APP_PORTAL: JSON.stringify(process.env.VUE_APP_PORTAL),
}),
new webpack.DefinePlugin({
VUE_APP_PORTAL: JSON.stringify(process.env.VUE_APP_PORTAL),
}),
],
},
}
},
};