about summary refs log tree commit diff
path: root/components/Posts/PostLink.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-02 19:55:58 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-02 19:55:58 +0100
commit53e2f45c6a62bc66185213252378944b19a6c7f9 (patch)
treec6cfb1f70993e760bd62b79773a9f14f57c8291a /components/Posts/PostLink.vue
parent6b3b28848f06667f36b4c20bf83ada0e5f578a99 (diff)
downloadpuszcza-53e2f45c6a62bc66185213252378944b19a6c7f9.tar.gz
puszcza-53e2f45c6a62bc66185213252378944b19a6c7f9.zip
Add basic api
Diffstat (limited to 'components/Posts/PostLink.vue')
-rw-r--r--components/Posts/PostLink.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/Posts/PostLink.vue b/components/Posts/PostLink.vue
index 54cd934..d3b34fc 100644
--- a/components/Posts/PostLink.vue
+++ b/components/Posts/PostLink.vue
@@ -1,11 +1,11 @@
 <template>
   <div class="post-link">
-    <a :href="route">
+    <nuxt-link :to="route">
       <div class="post-container">
         <h4 class="post-title">{{ title }}</h4>
         <p class="post-description">{{ shortenedDescription }}...</p>
       </div>
-    </a>
+    </nuxt-link>
   </div>
 </template>