I am building a website using Vue JS 3 and Laravel and when I try and implement my Index.vue component I receive these errors:
[Vue warn]: Missing required prop: “label”
[Vue warn]: Missing required prop: “isDisabled”
I am pretty sure they are defined correctly in both the parent:
Vue.component('biometricos', {
props: {
label: {
required: true,
type: String,
default: '',
},
className: {
type: String
},
isDisabled: {
required: true,
type: Boolean,
default: false
},
hours: Boolean,
minutes: Boolean,
}
});
and child:
props: {
label: {
required: true,
type: String,
default: '',
},
className: {
type: String
},
isDisabled: {
required: true,
type: Boolean,
default: false
},
hours: Boolean,
minutes: Boolean,
},
It might make sense to declare a label like this
<Component label="YourLabelHere" isDisabled="false"></Component>
But I don’t ever call the component in this way. Plus I don’t think this should be necessary with all of my declarations anyways.
Any ideas on why this might be happening are much