vue assign prop to value 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'],
}