Data loaders are only fetched once #561
Unanswered
amir20
asked this question in
Questions and Help
Replies: 1 comment 3 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
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