mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-17 17:57:13 +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>
|