define data with type and default vuejs code example Example: vuejs props export default { name: 'Camera', props: ['name', 'img'], }