安防大屏
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
2025-08-16 17:58:59 +08:00
parent 7edbeca307
commit 97dc93f3aa
14 changed files with 1027 additions and 56 deletions

View File

@@ -17,6 +17,8 @@ import { initSetupVbenForm } from './adapter/form';
import App from './app.vue';
import { router } from './router';
async function bootstrap(namespace: string) {
// 初始化组件适配器
await initComponentAdapter();
@@ -43,6 +45,7 @@ async function bootstrap(namespace: string) {
spinning: 'spinning',
});
// 国际化 i18n 配置
await setupI18n(app);
@@ -59,6 +62,7 @@ async function bootstrap(namespace: string) {
// 配置路由及路由守卫
app.use(router);
// 配置Motion插件
const { MotionPlugin } = await import('@vben/plugins/motion');
app.use(MotionPlugin);