Loading UI isn't work in my project
Unanswered
Cairn Terrier posted this in #help-forum
Cairn TerrierOP
Hi there, i have some problem, not a big problem but my loading ui in loading.tsx file isn't show in the page, is someone can tell me what is wrong with it?
5 Replies
Rhinelander
From my observation, the loading.tsx file maps to the admin route folder. From the folder structure, everything should work fine. But if you are having a challenge viewing the loading.tsx page, then I suggest sharing your code snippet would help us identify the issue properly.
Cairn TerrierOP
code snippet?
Rhinelander
From my observation, the loading.tsx file maps to the admin route folder. From the folder structure, everything should work fine. But if you are having a challenge viewing the loading.tsx page, then I suggest sharing your code snippet would help us identify the issue properly.
Can you show some relevant code? Like what's inside your
If your page is static for example, you won't see the loading ui
page.tsx file.If your page is static for example, you won't see the loading ui
since it's within your
but also like @not-milo.tsx said: if there's no data being fetched, the page(s) would've already been pre-rendered (meaning there is not any actual loading time)
/admin route, it should work when you're re-directing to that route from anotherbut also like @not-milo.tsx said: if there's no data being fetched, the page(s) would've already been pre-rendered (meaning there is not any actual loading time)