first styling and store for reactive etape modale

This commit is contained in:
Valentin
2024-07-23 00:01:44 +02:00
parent 5deb49de6d
commit 59016eb91a
18 changed files with 750 additions and 428 deletions

View File

@@ -1,13 +1,18 @@
<template>
<div>
hello HMR TROP TROP BIEN \o/
<div v-if="loading">Loading...</div>
<div v-if="error">{{ error }}</div>
<div v-if="etapeData">
<pre>{{ etapeData }}</pre>
</div>
</div>
</template>
<script>
</script>
<script setup>
import { storeToRefs } from 'pinia';
import { useEtapeStore } from '../stores/etape';
<style>
const store = useEtapeStore();
</style>
const { etapeData, loading, error } = storeToRefs(store);
</script>