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