This commit is contained in:
syuilo 2020-02-15 22:51:46 +09:00
parent df0bfc14e5
commit 05d7198667
1 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,15 @@
<template>
<x-notes ref="notes" :pagination="pagination" @before="before" @after="after"/>
<div>
<portal to="icon"><fa :icon="faHashtag"/></portal>
<portal to="title">{{ $route.params.tag }}</portal>
<x-notes ref="notes" :pagination="pagination" @before="before" @after="after"/>
</div>
</template>
<script lang="ts">
import Vue from 'vue';
import { faHashtag } from '@fortawesome/free-solid-svg-icons';
import Progress from '../scripts/loading';
import XNotes from '../components/notes.vue';
@ -26,7 +32,8 @@ export default Vue.extend({
params: () => ({
tag: this.$route.params.tag,
})
}
},
faHashtag
};
},