Answers for "vue component naming convention"

1

vue component naming convention

Name Casing
You have two options when defining component names:

> With kebab-case
Vue.component('my-component-name', { /* ... */ })

When defining a component with kebab-case, you must also 
use kebab-case when referencing its custom element, 
such as in <my-component-name>.

> With PascalCase
Vue.component('MyComponentName', { /* ... */ })
Posted by: Guest on June-25-2021

Code answers related to "vue component naming convention"

Code answers related to "Javascript"

Browse Popular Code Answers by Language