Force useAsyncStoryblok to refetch data
I am trying to get the visual editor in Storyblok to work properly using Nuxt 3 and SSG and need to force
useAsyncStoryblok
to refetch it's data. In Nuxt 2 it was very simple using enablePreview()
in a plugin but there seem to be no way to achieve this in Nuxt 3. refreshNuxtData()
should be the solution but it has no effect on useAsyncStoryblok
. Is there any known issues with refreshNuxtData()
or is there any other obvious solution that I'm missing?0 Replies