mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +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>
|