diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/NavBar.vue | 2 | ||||
-rw-r--r-- | components/NavLink.vue | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/components/NavBar.vue b/components/NavBar.vue index 4ffdf16..4bbae72 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -14,7 +14,7 @@ :key="route.path" :link="route.path" :name="route.name" - static + pure /> <NavLink v-for="route in externalRoutes" diff --git a/components/NavLink.vue b/components/NavLink.vue index 6d72dc7..bb86ef8 100644 --- a/components/NavLink.vue +++ b/components/NavLink.vue @@ -1,7 +1,7 @@ <template> <li class="navlink"> <a v-if="external" class="link" target="_blank" rel="”noopener”" :href="link">{{ name }}</a> - <a v-else-if="static" class="link" :href="link">{{ name }}</a> + <a v-else-if="pure" class="link" :href="link">{{ name }}</a> <nuxt-link v-else class="link" :to="link">{{ name }}</nuxt-link> </li> </template> @@ -12,7 +12,7 @@ export default { link: String, name: String, external: { type: Boolean, default: false }, - static: { type: Boolean, default: false } + pure: { type: Boolean, default: false } } } </script> |