Prop Default Vue JS
props: {
name: {
type: String,
default: 'John Doe'
}
}
garzj
props: {
name: {
type: String,
default: 'John Doe'
}
}
propName: {
type: String,
required: true
},