admin page support

This commit is contained in:
Jan Prochazka
2024-07-26 16:30:01 +02:00
parent feaaa35590
commit f697ba03f8
6 changed files with 47 additions and 8 deletions

View File

@@ -25,11 +25,25 @@ function createApp() {
target: document.body,
props: {},
});
case 'admin-login':
return new LoginPage({
target: document.body,
props: {
isAdminPage: true,
},
});
case 'not-logged':
return new NotLoggedPage({
target: document.body,
props: {},
});
case 'admin':
return new App({
target: document.body,
props: {
isAdminPage: true,
},
});
}
return new App({