about summary refs log tree commit diff
path: root/src/components/NavLink.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/NavLink.vue')
-rw-r--r--src/components/NavLink.vue14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/NavLink.vue b/src/components/NavLink.vue
new file mode 100644
index 0000000..6211333
--- /dev/null
+++ b/src/components/NavLink.vue
@@ -0,0 +1,14 @@
+<template>
+  <li>
+    <router-link v-bind:to="link">{{ name }}</router-link>
+  </li>
+</template>
+
+<script>
+export default {
+  props: {
+    link: String,
+    name: String
+  }
+};
+</script>
\ No newline at end of file