Use # instead of v-slot:

This commit is contained in:
syuilo
2019-02-18 11:13:56 +09:00
parent da4ba51a74
commit 388565fb10
95 changed files with 219 additions and 219 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="mkw-memo">
<ui-container :show-header="!props.compact">
<template v-slot:header><fa :icon="['far', 'sticky-note']"/>{{ $t('title') }}</template>
<template #header><fa :icon="['far', 'sticky-note']"/>{{ $t('title') }}</template>
<div class="mkw-memo--body">
<textarea v-model="text" :placeholder="$t('placeholder')" @input="onChange"></textarea>