platine as component
All checks were successful
Deploy App / build (push) Successful in 53s
Deploy App / deploy (push) Successful in 15s

This commit is contained in:
valere
2025-12-18 19:59:23 +01:00
parent 2be5724c9f
commit 1c4cbfe21c
8 changed files with 155 additions and 145 deletions

View File

@@ -1,22 +1,25 @@
<template>
<Platine />
<Platine :track="track1" />
<!-- <card v-if="track1" :track="track1" is-face-up /> -->
<Platine :track="track2" />
<!-- <card v-if="track2" :track="track2" is-face-up /> -->
</template>
<script setup>
import { useUiStore } from '~/store/ui'
import { useDataStore } from '~/store/data'
const dataStore = useDataStore()
const track1 = computed(() => dataStore.getTrackById(2023322))
const track2 = computed(() => dataStore.getTrackById(2023329))
// Configuration du layout
definePageMeta({
layout: 'default'
layout: 'empty'
})
const uiStore = useUiStore()
onMounted(async () => {
const dataStore = useDataStore()
await dataStore.loadData()
uiStore.listBoxes()
})
</script>