refactor: migrate to nuxt

This commit is contained in:
YunYouJun
2023-07-30 03:08:42 +08:00
parent c23f39e8c0
commit 0dfec1831b
90 changed files with 7864 additions and 3962 deletions

View File

@@ -0,0 +1,12 @@
<script lang="ts" setup>
const rStore = useRecipeStore()
</script>
<template>
<div class="inline-flex items-center justify-center">
今天吃什么<div class="transition" hover="text-blue-500" i-ri-refresh-line inline-block cursor-pointer @click="rStore.random" />
</div>
<div m="t-2">
<DishTag :dish="rStore.randomRecipe" />
</div>
</template>