mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +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>
|