mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
27 lines
594 B
Vue
27 lines
594 B
Vue
<template>
|
|
|
|
<template v-if="route.name == 'ModelListPage'">
|
|
<v-divider></v-divider>
|
|
<v-list-item v-for="m in getListModels()"
|
|
:to="{ name: 'ModelListPage', params: {model: m.name} }">
|
|
<template #prepend>
|
|
<v-icon :icon="m.icon"></v-icon>
|
|
</template>
|
|
{{ $t(m.localizationKey) }}
|
|
</v-list-item>
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
|
|
import {useRoute} from "vue-router";
|
|
import {getListModels} from "@/types/Models";
|
|
|
|
const route = useRoute()
|
|
|
|
</script>
|
|
|
|
<style scoped>
|
|
|
|
</style> |