One query provider for all layouts in Nuxt #54
wobsoriano
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
@wobsoriano If you think it would be useful for others, maybe we should add it to the lib and change the example to use the plugin? Also, did you check if this will properly separate user sessions? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, sharing a tip if you want to have access to the query provider in all templates with Nuxt.
You can create a plugin and use the onGlobalSetup helper and run the
useNuxtQueryProvider
function there.Beta Was this translation helpful? Give feedback.
All reactions