N
Nuxt8mo ago
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?
No description
1 Reply
Orbviox
Orbviox8mo ago
yeah this should do - any issues you’re encountering?
Want results from more Discord servers?
Add your server