Add (vite build)

This commit is contained in:
2023-09-21 23:58:23 +08:00
parent d8ed8bdb1d
commit 18705bd5e4
39 changed files with 3686 additions and 1221 deletions

View File

@@ -0,0 +1,11 @@
import { useAuthStore } from "@/stores/useAuth";
export default {
install: ({ config }) => {
config.globalProperties.$auth = useAuthStore();
if (useAuthStore().loggedIn) {
useAuthStore().ftechUser();
}
},
};