Prop Default Vue JS
props: {
name: {
type: String,
default: 'John Doe'
}
}
garzj
props: {
name: {
type: String,
default: 'John Doe'
}
}
props: {
title: String,
default: function () {
return "John Doe";
},
},