From 3cf5b26f26c751dea314a7e0cc7495bbc13a41be Mon Sep 17 00:00:00 2001 From: Vri Date: Wed, 7 Jun 2023 20:55:53 +0200 Subject: [PATCH 1/2] improve globalProperties --- src/main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index ab31503..b6af1ac 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,6 +5,9 @@ import App from './App.vue' const app = createApp(App) -app.config.globalProperties.applicationName = 'Stadtratmonitor' +app.config.globalProperties = { + ...app.config.globalProperties, + applicationName: 'Stadtratmonitor', +} app.mount('#app') From bb22d1a72892c2fb6d76155b804cd79dceb050ea Mon Sep 17 00:00:00 2001 From: Vri Date: Wed, 7 Jun 2023 22:12:45 +0200 Subject: [PATCH 2/2] this is a dirty sync commit --- src/App.vue | 14 +++++++++++--- src/components/Data.vue | 18 ++++++++++++++++++ src/components/MainMenu.vue | 19 ++++++++++--------- src/components/Search.vue | 8 +++++++- src/main.ts | 19 +++++++++++++++++-- 5 files changed, 63 insertions(+), 15 deletions(-) create mode 100644 src/components/Data.vue diff --git a/src/App.vue b/src/App.vue index affb903..d391378 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,22 +1,30 @@ \ No newline at end of file diff --git a/src/components/Data.vue b/src/components/Data.vue new file mode 100644 index 0000000..fbf7ae1 --- /dev/null +++ b/src/components/Data.vue @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/src/components/MainMenu.vue b/src/components/MainMenu.vue index 46f2cb1..45edb27 100644 --- a/src/components/MainMenu.vue +++ b/src/components/MainMenu.vue @@ -1,16 +1,17 @@ \ No newline at end of file diff --git a/src/components/Search.vue b/src/components/Search.vue index aacf4c5..126fecf 100644 --- a/src/components/Search.vue +++ b/src/components/Search.vue @@ -1,5 +1,11 @@