chore: 集成vben

This commit is contained in:
xiaojunnuo
2025-03-07 18:01:51 +08:00
parent 8fcabc5e9f
commit 9557fc799e
26 changed files with 232 additions and 169 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ import "./styles/antd/index.css";
import { useTitle } from "@vueuse/core";
import { setupI18n } from "/@/vben/locales";
export async function setupVben(app: any) {
await setupI18n(app);
export async function setupVben(app: any, { loadMessages }: any) {
await setupI18n(app, { loadMessages });
const store = await initStores(app, { namespace: "fs" });
return { store };