Use # instead of v-slot:

This commit is contained in:
syuilo 2019-02-18 11:13:56 +09:00
parent da4ba51a74
commit 388565fb10
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
95 changed files with 219 additions and 219 deletions

View file

@ -1,10 +1,10 @@
<template>
<ui-card>
<template v-slot:title><fa icon="palette"/> {{ $t('theme') }}</template>
<template #title><fa icon="palette"/> {{ $t('theme') }}</template>
<section class="nicnklzforebnpfgasiypmpdaaglujqm fit-top">
<label>
<ui-select v-model="light" :placeholder="$t('light-theme')">
<template v-slot:label><fa :icon="faSun"/> {{ $t('light-theme') }}</template>
<template #label><fa :icon="faSun"/> {{ $t('light-theme') }}</template>
<optgroup :label="$t('light-themes')">
<option v-for="x in lightThemes" :value="x.id" :key="x.id">{{ x.name }}</option>
</optgroup>
@ -16,7 +16,7 @@
<label>
<ui-select v-model="dark" :placeholder="$t('dark-theme')">
<template v-slot:label><fa :icon="faMoon"/> {{ $t('dark-theme') }}</template>
<template #label><fa :icon="faMoon"/> {{ $t('dark-theme') }}</template>
<optgroup :label="$t('dark-themes')">
<option v-for="x in darkThemes" :value="x.id" :key="x.id">{{ x.name }}</option>
</optgroup>