Reposted by wattanx
In @nuxt.com v5, the Options API will be disabled by default saving 6-7 kB in the bundle 🎉
For folks needing the Options API it can be easily re-enabled.
github.com/nuxt/nuxt/pu...
github.com
perf(nuxt): add `vue.optionsApi` and disable it for v5+ by danielroe · Pull Request #35791 · nuxt/nuxt
🔗 Linked issue
📚 Description
as most users of Nuxt are probably using <script setup> rather than the Options API, this disables Options API use by default.
it's straightforward to re-ena...