vue component default value code example Example: vue js default props props: { year: { default: 2016, type: Number } }