add empty card when data not available
Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
@@ -28,6 +28,9 @@ const { data } = await useAsyncData('home', () =>
|
||||
:tags="post.tags"
|
||||
/>
|
||||
</template>
|
||||
<template v-if="data?.length === 0">
|
||||
<BlogEmpty />
|
||||
</template>
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user