mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-20 06:15:13 +00:00
MIrage + async fetch + suspense
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<InboxScreen />
|
||||
<suspense>
|
||||
<template #default>
|
||||
<InboxScreen />
|
||||
</template>
|
||||
<template #fallback>
|
||||
Loading...
|
||||
</template>
|
||||
</suspense>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user