How to show a loading spinner while fetching and compiling a component framework (Astro Island) Vue and AstroJS
I have the following astro page:
---
import BaseLayout from '../../layouts/BaseLayout.astro';
import ListadoProfesionales from "../../components/pages/ListadoProfesionales/ListadoProfesionales.vue";
---
<BaseLayout title="Listado de profesionales">
<main class="container py-6">
<ListadoProfesionales client:only="vue" />
</main>
</BaseLayout>
The framework component "ListadoProfesionales" is rendering only in the browser with VueJS.
How can I show a Spinner (or a loading UI element) while AstroJS is fetching and rendering that component?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/FTd7cAS
Comments
Post a Comment