Use v-slot instead of slot

This commit is contained in:
syuilo
2019-02-18 09:48:00 +09:00
parent ba1492f977
commit 54d40420ad
96 changed files with 291 additions and 283 deletions

View File

@ -8,9 +8,9 @@
</ui-container>
<mk-notes ref="timeline" :make-promise="makePromise" @inited="() => $emit('loaded')">
<div slot="empty">
<template v-slot:empty>
<fa :icon="['far', 'comments']"/>{{ $t('empty') }}
</div>
</template>
</mk-notes>
</div>
</template>