tethys.frontend/vue.config.js
Arno Kaimbacher fb40b230d9 - add site title to vue.config
- lnaguage tag for html page
- change portal api to new subdomain
2021-12-23 14:54:17 +01:00

32 lines
799 B
JavaScript

const webpack = require("webpack");
module.exports = {
publicPath: "/",
// chainWebpack: config => {
// config
// .plugin('define')
// .tap(args => {
// args[0] = {
// ...args[0],
// VUE_APP_PORTAL: JSON.stringify(process.env.PORTAL),
// // other stuff
// }
// return args
// })
// },
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),
}),
],
},
};