how to v-bind object to props vue code example
Example 1: vue prop string or number
props: {
users_count: {
type: [Number, String],
required: true
}
},
Example 2: vuejs props
export default {
name: 'Camera',
props: ['name', 'img'],
}