nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

refreshNuxtData not working with options API

Open bierik opened this issue 4 months ago • 3 comments

Environment


  • Operating System: Linux
  • Node Version: v22.2.0
  • Nuxt Version: 3.13.2
  • CLI Version: 3.14.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-3mmtzb?file=app.vue

Describe the bug

refreshNuxtData does not work with options API. In the reproduction example, I'd expect the data being reactive.

Additional context

I am currently migrating from nuxt 2 to nuxt 3

Logs

No response

bierik avatar Oct 10 '24 14:10 bierik