NuxtN
Nuxt2y ago
1 reply
dohn

What's the proper way to define JSX components?

I was trying out JSX components in a Nuxt project and it seems top-level composables work just like the setup method? I couldn't find anything about this usage, all examples in both Nuxt and Vue docs use defineComponent and write everything inside setup, so is this even correct?
GK81l1oXQAAJuUU.png
Was this page helpful?