28 lines
643 B
Vue
28 lines
643 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<essential-link
|
||
|
v-for="(link, index) in links"
|
||
|
:key="index"
|
||
|
:title="link.title"
|
||
|
:link="link.link"
|
||
|
:icon="link.icon"
|
||
|
/>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
const links = [
|
||
|
{ title: 'Neues Home', link: 'newHome', icon: 'mdi-google-home' },
|
||
|
{ title: 'Altes Home', link: 'oldHome', icon: 'mdi-home-modern' }
|
||
|
];
|
||
|
import { defineComponent } from '@vue/composition-api';
|
||
|
import EssentialLink from 'components/navigation/EssentialLink.vue';
|
||
|
export default defineComponent({
|
||
|
// name: 'ComponentName'
|
||
|
components: { EssentialLink },
|
||
|
setup() {
|
||
|
return { links };
|
||
|
}
|
||
|
});
|
||
|
</script>
|