diff --git a/client/src/components/Answer.vue b/client/src/components/Answer.vue index 5e2b70e..5ba2ff5 100644 --- a/client/src/components/Answer.vue +++ b/client/src/components/Answer.vue @@ -8,7 +8,10 @@ export default { name: 'Answer', props: { - a: String + a: { + type: String, + required: true, + } } } diff --git a/client/src/components/QA.vue b/client/src/components/QA.vue index 8a69bf1..d93afb1 100644 --- a/client/src/components/QA.vue +++ b/client/src/components/QA.vue @@ -16,8 +16,14 @@ export default { Answer, }, props: { - q: String, - a: String + q: { + type: String, + required: true, + }, + a: { + type: String, + required: true, + } } } diff --git a/client/src/components/Question.vue b/client/src/components/Question.vue index e2a946b..cee01a0 100644 --- a/client/src/components/Question.vue +++ b/client/src/components/Question.vue @@ -8,7 +8,10 @@ export default { name: 'Question', props: { - q: String + q: { + type: String, + required: true, + } } }