about summary refs log tree commit diff
path: root/src/components
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-12 11:37:07 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-12 11:37:07 +0200
commit64c80504b5d14a179508bd764e107741a80e8be6 (patch)
tree38bd3310d20656cf5acded01a24f32e4f42bed2a /src/components
parenta76e153bf1390237ab75969f40df3abfe6da0a75 (diff)
downloadpuszcza-64c80504b5d14a179508bd764e107741a80e8be6.tar.gz
puszcza-64c80504b5d14a179508bd764e107741a80e8be6.zip
Add router
Diffstat (limited to 'src/components')
-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