You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
396 B
26 lines
396 B
<template>
|
|
<div>
|
|
<router-link
|
|
v-for="q in questions"
|
|
:key="q.id"
|
|
:to="`quiz/${q.id}`"
|
|
class="link"
|
|
>
|
|
{{ q.title }}
|
|
</router-link>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import messages from "@/assets/translations";
|
|
|
|
export default {
|
|
name: "Home",
|
|
computed: {
|
|
questions() {
|
|
return this.$t("quizzes");
|
|
},
|
|
},
|
|
i18n: { messages },
|
|
};
|
|
</script> |