NuxtLoadingIndicator
Hi
Just started with nuxt, I read the doc (nuxt3) about the NuxtLoadingIndicator. However, I can’t find any resources instructing how it is controlled, i.e. which action will trigger and stop it, and how it can be triggered and stopped manually
Any link to the doc or insight to share about it?
Thanks ✨
4 Replies
I'm not sure if/how you can trigger it manually but in the docs for it theres a link to the composable they use to control it, I would start there.
Maybe this can help you: https://nuxt.com/docs/api/composables/use-loading-indicator
Nuxt
useLoadingIndicator · Nuxt Composables
This composable gives you access to the loading state of the app page.
Thanks that was helpful
However I’m running into issue, i have a basic install of nuxt, with two simple pages with a NuxtLink to each other. Whenever I navigate the loading indicator with show forever
Any idea?
Can you provide a repro example via Stackblitz or something?