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