- 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
parent ed7bd8c4d2
commit fb40b230d9
3 changed files with 18 additions and 9 deletions

2
.env
View File

@ -1,4 +1,4 @@
#NODE_ENV=production
NODE_ENV=development
VUE_APP_PORTAL=//repository.geologie.ac.at/portal
VUE_APP_PORTAL=//data.geologie.ac.at

View File

@ -1,10 +1,12 @@
<!DOCTYPE html>
<html lang="">
<html lang="de">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="description" content="Data Publisher for Geoscience Austria">
<meta name="author" content="Arno Kaimbacher">
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title>
<%= htmlWebpackPlugin.options.title %>

View File

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