ledger gemory draft

This commit is contained in:
Sirttas
2026-05-17 12:42:25 +02:00
parent e81fdc24bb
commit f9ae0d142a
35 changed files with 2017 additions and 2763 deletions
-13
View File
@@ -1,4 +1,3 @@
import { useAuthStore } from "@/auth";
import { createPinia } from 'pinia';
import { createApp } from 'vue';
import { createRouter, createWebHistory } from 'vue-router';
@@ -17,18 +16,6 @@ const router = createRouter({
});
app.use(pinia);
const authStore = useAuthStore();
router.beforeEach(async to => {
if (to.name === 'callback') {
await authStore.login();
return { name: 'home' };
} else if (!authStore.isLoggedIn) {
await authStore.redirect();
}
});
app.use(router);
app.mount('#app');