mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
18 lines
260 B
Vue
18 lines
260 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<NuxtLink v-for="link of $store.state.links" :key="link" :to="{ name: link }">
|
||
|
/{{ link }}
|
||
|
</NuxtLink>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
head() {
|
||
|
return {
|
||
|
title: this.$route.name
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|