chore: lazy load auth toolbar

This commit is contained in:
2026-06-12 16:01:19 +08:00
parent 13fe7506c3
commit 8c5784e53a
2 changed files with 6 additions and 5 deletions
@@ -1,12 +1,15 @@
<script setup lang="ts">
import type { ToolbarType } from './types';
import { defineAsyncComponent } from 'vue';
import { preferences, usePreferences } from '@vben/preferences';
import { Copyright } from '../basic/copyright';
import AuthenticationFormView from './form.vue';
import SloganIcon from './icons/slogan.vue';
import Toolbar from './toolbar.vue';
const Toolbar = defineAsyncComponent(() => import('./toolbar.vue'));
interface Props {
appName?: string;