feat: InspiraUI
Some checks failed
/ surge (push) Successful in 2m41s
/ build-and-deploy-to-vercel (push) Successful in 2m59s
/ lint-build-and-check (push) Has been cancelled
/ playwright (push) Has been cancelled

This commit is contained in:
严浩
2025-04-01 11:55:16 +08:00
parent db2c210a09
commit 8f2a77702b
36 changed files with 1053 additions and 372 deletions

View File

@ -22,9 +22,9 @@ router.onError((error) => {
export { router, setupLayoutsResult };
export function install({ app }: { app: import('vue').App<Element> }) {
app
// Register the plugin before the router
// 在路由之前注册插件
.use(DataLoaderPlugin, { router })
// adding the router will trigger the initial navigation
// 添加路由会触发初始导航
.use(router);
}
// ========================================================================