From 9b34b9de8cbb8263643f9ffe2ced6de957161bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sat, 4 Nov 2023 16:01:58 +0000 Subject: [PATCH] preliminary app name and noscript message --- ui/public/index.html | 2 +- ui/src/plugins/store.ts | 4 ++-- ui/vue.config.js | 15 +++++++++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ui/public/index.html b/ui/public/index.html index 3e5a139..1f246a5 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -9,7 +9,7 @@
diff --git a/ui/src/plugins/store.ts b/ui/src/plugins/store.ts index 0cba139..891223a 100644 --- a/ui/src/plugins/store.ts +++ b/ui/src/plugins/store.ts @@ -15,8 +15,8 @@ export const advent22Store = defineStore({ is_touch_device: check_touch_device(), is_admin: false, site_config: { - title: "Adventskalender", - subtitle: "Lorem Ipsum", + title: document.title, + subtitle: "", content: "", footer: "", } as SiteConfigModel, diff --git a/ui/vue.config.js b/ui/vue.config.js index 0b8c429..75ec838 100644 --- a/ui/vue.config.js +++ b/ui/vue.config.js @@ -1,7 +1,14 @@ -const { defineConfig } = require('@vue/cli-service') +const { defineConfig } = require("@vue/cli-service"); + module.exports = defineConfig({ transpileDependencies: true, devServer: { - host: 'localhost', - } -}) + host: "localhost", + }, + pages: { + index: { + entry: "src/main.ts", + title: "Kalender-Gewinnspiel", + }, + }, +});