Page data is not updated on client side navigation in a layout or in app.vue, it stays the same as on initial load.
This issue is related to: https://github.com/nuxt/nuxt/issues/14595, because we are using useState(page-${useRoute().path}) to store page data returned from Drupal backend.
I've found a solution that works, we don't need to have unique key for useState, I'll create a PR soon.
Page data is not updated on client side navigation in a layout or in app.vue, it stays the same as on initial load.
This issue is related to: https://github.com/nuxt/nuxt/issues/14595, because we are using
useState(page-${useRoute().path})
to store page data returned from Drupal backend.I've found a solution that works, we don't need to have unique key for
useState
, I'll create a PR soon.