covidassist/src/views/Questionnaire.vue

21 lines
559 B
Vue
Raw Normal View History

2020-03-21 16:19:14 +01:00
<template>
<div class="questionmaire">
2020-03-21 18:57:15 +01:00
<Question
v-bind:type="$store.state.questions[$store.state.currentQuestion].type"
v-bind:question="$store.state.questions[$store.state.currentQuestion].question"
v-bind:answers="$store.state.questions[$store.state.currentQuestion].answers"></Question>
2020-03-21 16:19:14 +01:00
</div>
</template>
<script>
import Question from "@/components/Question";
export default {
name: "Questionnaire",
components: {Question}
}
</script>
<style scoped>
</style>