diff --git a/.env b/.env index e191efd..969c026 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ #NODE_ENV=production NODE_ENV=development -VUE_APP_PORTAL=//repository.geologie.ac.at/portal \ No newline at end of file +VUE_APP_PORTAL=//data.geologie.ac.at \ No newline at end of file diff --git a/public/index.html b/public/index.html index 9b406e2..6ed9626 100644 --- a/public/index.html +++ b/public/index.html @@ -1,10 +1,12 @@ - + + + <%= htmlWebpackPlugin.options.title %> diff --git a/vue.config.js b/vue.config.js index 9d2daa8..e1f717e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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), + }), ], - }, - } \ No newline at end of file + }, +};