set value from prop to variable vue code example Example: vuejs props export default { name: 'Camera', props: ['name', 'img'], }