Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue js default prop

props: {
  name: {
    type: String,
    default: 'John Doe'
  }
}
 
PREVIOUS NEXT
Tagged: #vue #js #default #prop
ADD COMMENT
Topic
Name
4+9 =