Files
WAI_Project_UNIX/cool/index.ts
2025-08-11 19:14:03 +08:00

29 lines
512 B
TypeScript

import { initTheme, setH5 } from "./theme";
import { initLocale } from "@/locale";
export function cool(app: VueApp) {
app.mixin({
onShow() {
// #ifdef H5
setTimeout(() => {
setH5();
}, 0);
// #endif
}
});
initTheme();
initLocale();
console.log(app);
}
export * from "./utils";
export * from "./theme";
export * from "./router";
export * from "./service";
export * from "./hooks";
export * from "./ctx";
export * from "./store";
export * from "./upload";