use fhcApps for Studentenverwaltung

This commit is contained in:
chfhtw
2025-10-09 08:43:12 +02:00
parent d389cf87b8
commit 3c3e920573
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -26,8 +26,8 @@
#'vendor/npm-asset/primevue/tree/tree.min.js',
#'vendor/npm-asset/primevue/toast/toast.min.js'
],
'customJSModules' => [
'public/js/apps/Studentenverwaltung.js'
'fhcApps' => [
'Studentenverwaltung'
]
);
+4
View File
@@ -168,10 +168,14 @@ router.afterEach((to, from, failure) => {
document.title = title;
});
FhcApps.router.makeExtendable(router);
const app = Vue.createApp({
name: 'StudentenverwaltungApp'
});
FhcApps.makeExtendable(app);
app
.use(router)
.use(primevue.config.default, {