Vue.js Props

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

camelCase <=> kebab-case

When defining the names of your props, always remember that HTML attribute names are case-insensitive. That means if you define a prop in camel case in your component definition...

Vue.component('child', {
    props: ['myProp'],
    ...
});

...you must call it in your HTML component as my-prop.



Got any Vue.js Question?