feat: ✨ 添加登录和获取用户信息接口,整合pinia实现用户状态全局共享

This commit is contained in:
ray committed 2024-09-23 08:29:44 +08:00
1 parent f106f84646
commit 737f6a3ee5
21 files changed
+6997 -5061

No files matched your search

+5
View File
@@ -2,8 +2,13 @@ import { createSSRApp } from "vue";
import App from "./App.vue";
import "uno.css";
import { setupStore } from "@/store";
export function createApp() {
const app = createSSRApp(App);
setupStore(app);
return {
app,
};