Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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', { /* ... */ })
Comment

Naming Your Componts Vue

import X from './components/Test.vue'
/*this is not technically wrong although not generally a good idea*/

      <X msg="Hello World"/>
Comment

PREVIOUS NEXT
Code Example
Javascript :: dropdown list trigger change with value jquery 
Javascript :: JS function examples 
Javascript :: get html from url in react js 
Javascript :: Sorting Array of String, Numbers or Objects in javascript 
Javascript :: what is container in angular 
Javascript :: regex mobile 
Javascript :: auto scrolling to end scrollview react native 
Javascript :: React clock via props 
Javascript :: regex from 5 to 30 1 number 1 lower case and 1 upper case letter 
Javascript :: javascript change favicon dynamicly 
Javascript :: restart my react -Dom 
Javascript :: javascript interview questions geeksforgeeks 
Javascript :: events in node js 
Javascript :: remove element 
Javascript :: jquery select vs create syntax 
Javascript :: javascript coding problems 
Javascript :: highcharts hide gaps 
Javascript :: add function 
Javascript :: zustand stores manage loading state 
Javascript :: How to write "Hello World" 
Javascript :: visual studio code shortcut to find file 
Javascript :: docker containerize node app 
Javascript :: javascript Why is this function working on second click only 
Javascript :: AngularJS Graphs & Charts - Mix of solid & dotted 
Javascript :: tabbarbadge style react native 
Javascript :: AngularJS Form validation transition to valid when some elements are not even touched yet 
Javascript :: Check if a user joins, leaves, or moves channels discord.js 
Javascript :: get lat long from address google api 
Javascript :: javascript polyIntersect 
Javascript :: export from json 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =