33 lines
684 B
Vue
33 lines
684 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 Plugin1',
|
||
|
link: 'plugin1_1',
|
||
|
icon: 'mdi-information-outline'
|
||
|
},
|
||
|
{ title: 'Altes Plugin1', link: 'plugin1_2', icon: 'mdi-information-variant' }
|
||
|
];
|
||
|
|
||
|
import { defineComponent } from '@vue/composition-api';
|
||
|
import EssentialLink from 'components/navigation/EssentialLink.vue';
|
||
|
export default defineComponent({
|
||
|
// name: 'ComponentName'
|
||
|
components: { EssentialLink },
|
||
|
setup() {
|
||
|
return { links };
|
||
|
}
|
||
|
});
|
||
|
</script>
|