vue componenet props pass vue code example Example: vue js default prop props: { name: { type: String, default: 'John Doe' } }