Files
KanbanGit/tests/Fixtures/auth-preview.mjs
T
Twyco a43aff0477
CI/CD / test_and_check_app (push) Failing after 1m34s
CI/CD / Publish immutable image (push) Skipped
CI/CD / test_and_check_app (pull_request) Canceled after 0s
CI/CD / Publish immutable image (pull_request) Canceled after 0s
feat(KAN-21): rebuild login verification and two-factor flows
2026-09-10 11:02:15 +02:00

21 lines
913 B
JavaScript

import { createApp, h } from 'vue';
import { createInertiaApp } from '@inertiajs/vue3';
import '../../resources/css/app.css';
import Login from '../../resources/js/pages/auth/Login.vue';
import VerifyEmail from '../../resources/js/pages/auth/VerifyEmail.vue';
import TwoFactorChallenge from '../../resources/js/pages/auth/TwoFactorChallenge.vue';
import { createAppearance } from '../../resources/js/composables/useAppearance';
import { createLocalization } from '../../resources/js/lib/localization';
const Destination = { render: () => h('h1', 'Signed in destination') };
createInertiaApp({
resolve: (name) =>
({ Login, VerifyEmail, TwoFactorChallenge, Destination })[name],
setup: ({ el, App, props, plugin }) =>
createApp({ render: () => h(App, props) })
.use(plugin)
.use(createLocalization())
.use(createAppearance())
.mount(el),
});