Skip to content

Conversation

andreiTn
Copy link

Props are HTML attributes so we should use kebab-case.
Also, props that receive boolean values can be used without a value. Their presence or absence implies true or false.

https://v3.vuejs.org/guide/component-props.html#prop-casing-camelcase-vs-kebab-case
https://v3.vuejs.org/guide/component-props.html#passing-a-boolean

Props are HTML attributes so we should use kebab-case.
Also, props that receive boolean values can be used without a value. Their presence or absence implies true or false.

https://v3.vuejs.org/guide/component-props.html#prop-casing-camelcase-vs-kebab-case
https://v3.vuejs.org/guide/component-props.html#passing-a-boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant