Skip to content

How to make modular components in Vue? (Coming from React) #13185

Discussion options

You must be logged in to vote

You can do something like this when you use .vue files: Playground

The limiting factor here is that .vue files require to have one file per component. You can do pretty much what you do in React in Vue, when you are willing to use JSX.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@AmodeusR
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by AmodeusR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants