Jonathan Druart
8d573797a9
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
19 lines
No EOL
446 B
Vue
19 lines
No EOL
446 B
Vue
<template>
|
|
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
|
|
<ol>
|
|
<li v-for="(item, counter) in breadCrumbs" v-bind:key="counter">
|
|
<router-link :to="item.path"> {{ item.text }}</router-link>
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
computed: {
|
|
breadCrumbs() {
|
|
return this.$route.meta.breadcrumb
|
|
},
|
|
},
|
|
};
|
|
</script> |