mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-30 06:24:36 +02:00
Use v-slot instead of slot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<mk-ui>
|
||||
<span slot="header"><span style="margin-right:4px;"><fa icon="home"/></span>{{ $t('dashboard') }}</span>
|
||||
<template slot="func">
|
||||
<template v-slot:header><span style="margin-right:4px;"><fa icon="home"/></span>{{ $t('dashboard') }}</template>
|
||||
<template v-slot:func>
|
||||
<button @click="customizing = !customizing"><fa icon="cog"/></button>
|
||||
</template>
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user