Replies: 1 comment 1 reply
-
|
Like this: const route = useRoute();
const fullPath = computed(() => route.fullPath);
useLazyAsyncData(
'key',
'fetchMethodHere',
{
watch: [fullPath]
}
); |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I'm trying to migrate my app to vue3 syntax using @nuxtjs/composition-api
How I can restart useAsync method like it was in nuxt 2 with asyncData using watchQuery
Beta Was this translation helpful? Give feedback.
All reactions