Tag tiles use SPA links instead of anchors.

This commit is contained in:
ThePendulum 2020-01-31 00:09:11 +01:00
parent e9dfeba11f
commit c9200180cf
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template>
<a
:href="`/tag/${tag.slug}`"
<router-link
:to="{ name: 'tag', params: { tagSlug: tag.slug } }"
:title="tag.name"
class="tile"
>
@ -12,7 +12,7 @@
>
<span class="title">{{ tag.name }}</span>
</a>
</router-link>
</template>
<script>