Skip to content

Custom Element don't receive props when using SFC #6619

Discussion options

You must be logged in to vote

In the HTML, change propertyOne="..." to property-one="...". Vue SFCs are smart enough to recognize camel case, so you can have properties likeThis or like-this, but in the HTML itself you will have to use hyphens. This is because HTML property names are case-insensitive.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by educkf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants