Require props of QA, Question and Answer

master
Raymonzut 5 years ago
parent 9bfbb03636
commit 05e428223d
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 5
      client/src/components/Answer.vue
  2. 10
      client/src/components/QA.vue
  3. 5
      client/src/components/Question.vue

@ -8,7 +8,10 @@
export default {
name: 'Answer',
props: {
a: String
a: {
type: String,
required: true,
}
}
}
</script>

@ -16,8 +16,14 @@ export default {
Answer,
},
props: {
q: String,
a: String
q: {
type: String,
required: true,
},
a: {
type: String,
required: true,
}
}
}
</script>

@ -8,7 +8,10 @@
export default {
name: 'Question',
props: {
q: String
q: {
type: String,
required: true,
}
}
}
</script>

Loading…
Cancel
Save