Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
What's the proper way to define JSX components? - Nuxt
N
Nuxt
•
2y 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
defineComponent
and write everything inside
setup
setup
, so is this even correct
?
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Resolving components in JSX
N
Nuxt / ❓・help
14mo ago
What is the proper way to use the shadcn-vue sidebar?
N
Nuxt / ❓・help
9mo ago
Proper way to target="_blank"
N
Nuxt / ❓・help
6mo ago
What's the right way to install Pinia?
N
Nuxt / ❓・help
2y ago