Files
evilspins/app/app.vue
valere 0c1cf30996
All checks were successful
Deploy App / deploy (push) Successful in 1m18s
first 3D model
2025-09-17 23:39:43 +02:00

27 lines
507 B
Vue

<template>
<div>
<NuxtRouteAnnouncer />
<NuxtPage />
</div>
</template>
<script setup>
import { useDataStore } from '@/store/dataStore'
useHead({
bodyAttrs: {
class: 'bg-slate-100 dark:bg-slate-900'
}
})
// @todo : load datas as plugin/middleware (cant load pinia in plugin/middleware) ?
onMounted(async () => {
const dataStore = await useDataStore()
await dataStore.loadData()
})
</script>
<style>
button {
@apply px-4 py-2 m-4 bg-esyellow text-slate-700 rounded-md;
}
</style>