automated_uniapp/cool/bootstrap/index.ts
2025-01-09 16:16:11 +08:00

16 lines
314 B
TypeScript

import { createPinia } from "pinia";
import { createEps } from "./eps";
import { createModules } from "./modules";
import { type App } from "vue";
export async function bootstrap(app: App) {
// 状态共享存储
app.use(createPinia());
// 创建 EPS
createEps();
// 创建 uni_modules
createModules();
}