vue prop validaiton code example
Example: vue prop string or number
props: {
users_count: {
type: [Number, String],
required: true
}
},
props: {
users_count: {
type: [Number, String],
required: true
}
},