N
Nuxt4mo ago
souf

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
dwol
dwol4mo ago
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.
ncls.
ncls.4mo ago
Nuxt
useLoadingIndicator · Nuxt Composables
This composable gives you access to the loading state of the app page.
souf
soufOP4mo ago
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?
ncls.
ncls.4mo ago
Can you provide a repro example via Stackblitz or something?

Did you find this page helpful?