Added sample data for characters

This commit is contained in:
Alexis
2024-03-31 19:37:02 +02:00
parent a4b2fa271b
commit 2bf2ad2492
5 changed files with 67 additions and 5 deletions

View File

@@ -1,10 +1,13 @@
<script lang="ts" setup>
import { ref } from 'vue'
import { useCalendar } from '@/stores/calendar'
import { useCalendarEvents } from '@/stores/events'
const { config, incrementMonth, decrementMonth, setMonth, incrementYear, decrementYear } =
useCalendar()
const { characterBirthEvents, characterDeathEvents } = useCalendarEvents()
const monthTarget = ref(0)
</script>
@@ -45,5 +48,9 @@ const monthTarget = ref(0)
</button>
</div>
</div>
<pre>
{{ characterDeathEvents }}
</pre>
</main>
</template>