init
This commit is contained in:
commit
98131c3b78
29 changed files with 2003 additions and 0 deletions
20
src/views/HomeView.vue
Normal file
20
src/views/HomeView.vue
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<script setup lang="ts">
|
||||
import { defineAsyncComponent, Suspense } from "vue";
|
||||
|
||||
const AsyncComp = defineAsyncComponent({
|
||||
delay: 0,
|
||||
loader: () => import("@/components/LastAddedEntry.vue"),
|
||||
timeout: 3000,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<Suspense>
|
||||
<AsyncComp></AsyncComp>
|
||||
<template #fallback>
|
||||
Loading...
|
||||
</template>
|
||||
</Suspense>
|
||||
</main>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue