-
-
Save cursosdesarrolloweb/56f2c13281ae4a914833c2309d6c9d8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<Suspense> | |
<template #default> | |
<async-component /> | |
</template> | |
<template #fallback> | |
Loading component.... | |
</template> | |
</Suspense> | |
</template> | |
<script> | |
import AsyncComponent from "./AsyncComponent.vue"; | |
export default { | |
name: 'RootComponent', | |
components: {AsyncComponent}, | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment