feat: add public entry page for KAN-50

This commit is contained in:
2026-09-16 07:46:21 +00:00
committed by Twyco
parent 0a974cfd49
commit 8a9113a7af
6 changed files with 604 additions and 412 deletions
+19
View File
@@ -0,0 +1,19 @@
import { createApp, h } from 'vue';
import { createInertiaApp } from '@inertiajs/vue3';
import '../../resources/css/app.css';
import Welcome from '../../resources/js/pages/Welcome.vue';
import { createAppearance } from '../../resources/js/composables/useAppearance';
import { createLocalization } from '../../resources/js/lib/localization';
createInertiaApp({
resolve: (name) =>
({ Welcome })[name] ?? {
render: () => h('main', [h('h1', 'Destination reached')]),
},
setup: ({ el, App, props, plugin }) =>
createApp({ render: () => h(App, props) })
.use(plugin)
.use(createLocalization())
.use(createAppearance())
.mount(el),
});