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