accessing component prop in vue instance code example Example: vuejs props export default { name: 'Camera', props: ['name', 'img'], }