Tag tiles use SPA links instead of anchors.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<a
|
<router-link
|
||||||
:href="`/tag/${tag.slug}`"
|
:to="{ name: 'tag', params: { tagSlug: tag.slug } }"
|
||||||
:title="tag.name"
|
:title="tag.name"
|
||||||
class="tile"
|
class="tile"
|
||||||
>
|
>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
>
|
>
|
||||||
|
|
||||||
<span class="title">{{ tag.name }}</span>
|
<span class="title">{{ tag.name }}</span>
|
||||||
</a>
|
</router-link>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user