From d2f21ba4e6fe7aee20fcafdd732c256b653e58d8 Mon Sep 17 00:00:00 2001 From: chfhtw Date: Wed, 8 Oct 2025 14:45:12 +0200 Subject: [PATCH] use fhcApps for LVVerwaltung --- application/views/LVVerwaltung.php | 4 ++-- public/js/apps/LVVerwaltung.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/application/views/LVVerwaltung.php b/application/views/LVVerwaltung.php index 4cebae839..5c4c9549e 100644 --- a/application/views/LVVerwaltung.php +++ b/application/views/LVVerwaltung.php @@ -17,8 +17,8 @@ 'public/css/Lvverwaltung.css' ], - 'customJSModules' => [ - 'public/js/apps/LVVerwaltung.js' + 'fhcApps' => [ + 'LVVerwaltung' ] ); diff --git a/public/js/apps/LVVerwaltung.js b/public/js/apps/LVVerwaltung.js index f365b74a8..18f8a072f 100644 --- a/public/js/apps/LVVerwaltung.js +++ b/public/js/apps/LVVerwaltung.js @@ -89,8 +89,12 @@ const router = VueRouter.createRouter({ ] }); +FhcApps.router.makeExtendable(router); + const app = Vue.createApp(); +FhcApps.makeExtendable(app); + app .use(router) .use(primevue.config.default, {