Seeking advice on transitioning from the asyncData
pattern to fetch
in a Nuxt App. The migration process seems straightforward, except for one obstacle - I am unable to get the NuxtLoading component to function properly. Despite trying to monitor the $fetchState
and initiate loading with this.$nuxt.$loading.start()
, it fails to work as expected. The loading indicator flickers for a brief moment and then disappears without any action on my end.
Is there a special method to achieve the same behavior seen with asyncData
?