[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-vue3-module.
0

Configure Feed

Select the types of activity you want to include in your feed.

docs: add example of suspense

+6 -4
+3 -3
example/components/GlobalComponent.vue
··· 6 6 7 7 <script> 8 8 export default { 9 - data: () => ({ 10 - 11 - }), 9 + async setup () { 10 + await new Promise(resolve => setTimeout(resolve, 3000)) 11 + } 12 12 } 13 13 </script>
+3 -1
example/pages/about.vue
··· 3 3 <RouterLink to="/"> 4 4 Home page 5 5 </RouterLink> 6 - <GlobalComponent /> 6 + <Suspense> 7 + <GlobalComponent /> 8 + </Suspense> 7 9 </template>