diff --git a/quiz-app/src/components/Quiz.vue b/quiz-app/src/components/Quiz.vue index 14185123..f1f504ea 100644 --- a/quiz-app/src/components/Quiz.vue +++ b/quiz-app/src/components/Quiz.vue @@ -28,15 +28,20 @@ import messages from "@/assets/translations"; export default { + name: "Quiz", data() { return { currentQuestion: 0, complete: false, error: false, route: "", - questions: this.$t("quizzes"), }; }, + computed: { + questions() { + return this.$t("quizzes"); + } + }, i18n: { messages }, methods: {