12 lines
232 B
JavaScript
12 lines
232 B
JavaScript
import { useAuthStore } from "@/stores/useAuth";
|
|
|
|
export default {
|
|
install: ({ config }) => {
|
|
config.globalProperties.$auth = useAuthStore();
|
|
|
|
if (useAuthStore().loggedIn) {
|
|
useAuthStore().ftechUser();
|
|
}
|
|
},
|
|
};
|