implemented authentication with sidebase/nuxt-auth

This commit is contained in:
Johanna Kuehner
2024-03-11 18:19:11 +01:00
parent 7c19ee9215
commit 6d6b36bdd9
34 changed files with 12861 additions and 2097 deletions

22
app.vue
View File

@ -7,21 +7,21 @@
<script setup>
import { createPinia } from "pinia";
import piniaPluginPersistedState from "pinia-plugin-persistedstate"
//import { createPinia } from "pinia";
//import piniaPluginPersistedState from "pinia-plugin-persistedstate"
//const layout = "empty";
//const route = useRoute();
const pinia = createPinia();
pinia.use(piniaPluginPersistedState);
//const layout = "empty";
//const route = useRoute();
//const pinia = createPinia();
//pinia.use(piniaPluginPersistedState);
useHead({
//title: `Tüit ERP - ${route.meta.title}`,
title: `Tüit ERP`,
link: [{ rel: "icon", type: "image/png", href: "/favicon-gelb-rot-32x32.png" }]
})
useHead({
//title: `Tüit ERP - ${route.meta.title}`,
title: `Tüit ERP`,
link: [{ rel: "icon", type: "image/png", href: "/favicon-gelb-rot-32x32.png" }]
})
</script>