Answers for "defining an array prop in vue"

1

defining an array prop in vue

props: {
  title: String,
  likes: Number,
  isPublished: Boolean,
  commentIds: Array,
  author: Object,
  callback: Function,
  contactsPromise: Promise // or any other constructor
}
Posted by: Guest on June-29-2021

Browse Popular Code Answers by Language