Data loaders are only fetched once #561
Replies: 2 comments 4 replies
-
It sounds like you are exporting the loader in a component that isn’t a page (component of a route). It doesn’t have to be used by pages but must be exported by one in order to be attached to the navigation |
Beta Was this translation helpful? Give feedback.
3 replies
-
I had a similar sounding issue and it took me a while to narrow it down to configuration in I had Are |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am sure I am doing some wrong but data loaders are not correctly triggered.
I have the following Vue SFC:
My setup is similar to https://github.com/antfu-collective/vitesse/tree/main with a router.ts:
What am I doing wrong? If I manually do
reload()
then it works. But that's not to be expected.Beta Was this translation helpful? Give feedback.
All reactions