diff --git a/frontend/package.json b/frontend/package.json
index 8c7577ab3..1873e8ccd 100755
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -78,6 +78,7 @@
"node-sass": "^6.0.1",
"sass-loader": "^10",
"stats-webpack-plugin": "^0.7.0",
+ "vue-html-webpack-plugin": "^3.2.2",
"vue-template-compiler": "^2.6.11",
"webpack-bundle-analyzer": "^4.5.0"
},
diff --git a/frontend/public/index.html b/frontend/public/index.html
index 2f255a1a8..ca076c334 100644
--- a/frontend/public/index.html
+++ b/frontend/public/index.html
@@ -17,19 +17,21 @@
- Gradido – Dein Dankbarkeitskonto
+ <%= htmlWebpackPlugin.options.title %>
+
+
+
+
+
+
+
+
-
+
diff --git a/frontend/vue.config.js b/frontend/vue.config.js
index 47b016aea..14dbdd5a4 100644
--- a/frontend/vue.config.js
+++ b/frontend/vue.config.js
@@ -2,6 +2,7 @@ const path = require('path')
const webpack = require('webpack')
const Dotenv = require('dotenv-webpack')
const StatsPlugin = require('stats-webpack-plugin')
+const HtmlWebpackPlugin = require('vue-html-webpack-plugin')
// vue.config.js
module.exports = {
@@ -38,6 +39,23 @@ module.exports = {
}),
// generate webpack stats to allow analysis of the bundlesize
new StatsPlugin('webpack.stats.json'),
+ new HtmlWebpackPlugin({
+ vue: true,
+ title: 'XGRADIDO',
+ template: 'public/index.html',
+ description_de:
+ 'Dankbarkeit ist die Währung der neuen Zeit. Immer mehr Menschen entfalten ihr Potenzial und gestalten eine gute Zukunft für alle.',
+ description_en:
+ 'Gratitude is the currency of the new age. More and more people are unleashing their potential and shaping a good future for all.',
+ keywords_de:
+ 'Grundeinkommen, Währung, Dankbarkeit, Schenk-Ökonomie, Natürliche Ökonomie des Lebens, Ökonomie, Ökologie, Potenzialentfaltung, Schenken und Danken, Kreislauf des Lebens, Geldsystem',
+ keywords_en:
+ 'Basic Income, Currency, Gratitude, Gift Economy, Natural Economy of Life, Economy, Ecology, Potential Development, Giving and Thanking, Cycle of Life, Monetary System',
+ author: 'Bernd Hückstädt - Gradido-Akademie',
+ url: 'http://localhost',
+ identifier_URL: 'http://localhost',
+ icon: './favicon.png',
+ }),
],
infrastructureLogging: {
level: 'warn', // 'none' | 'error' | 'warn' | 'info' | 'log' | 'verbose'
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 296e0f01b..a452828a4 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -14158,6 +14158,19 @@ vue-hot-reload-api@^2.3.0:
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==
+vue-html-webpack-plugin@^3.2.2:
+ version "3.2.2"
+ resolved "https://registry.yarnpkg.com/vue-html-webpack-plugin/-/vue-html-webpack-plugin-3.2.2.tgz#df1499f05bcdf22c2e7040fa760fb0f5de66beea"
+ integrity sha512-C1qz9hxxrzvPSkpr59GHY8oh0U6TUuKYkhRg47pcYoq8D7JQKDGON8xsI6LYudVKGowcPj8GulfdHsp0Cc1gJA==
+ dependencies:
+ html-minifier "^3.2.3"
+ loader-utils "^0.2.16"
+ lodash "^4.17.3"
+ pretty-error "^2.0.2"
+ tapable "^1.0.0"
+ toposort "^1.0.0"
+ util.promisify "1.0.0"
+
vue-i18n-extract@1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/vue-i18n-extract/-/vue-i18n-extract-1.0.2.tgz#0a136e12d1634d6799e187aad81a7003d02f67a5"