Use # instead of v-slot:
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="mkw-server">
|
||||
<ui-container :show-header="props.design == 0" :naked="props.design == 2">
|
||||
<template v-slot:header><fa icon="server"/>{{ $t('title') }}</template>
|
||||
<template v-slot:func><button @click="toggle" :title="$t('toggle')"><fa icon="sort"/></button></template>
|
||||
<template #header><fa icon="server"/>{{ $t('title') }}</template>
|
||||
<template #func><button @click="toggle" :title="$t('toggle')"><fa icon="sort"/></button></template>
|
||||
|
||||
<p :class="$style.fetching" v-if="fetching"><fa icon="spinner" pulse fixed-width/>{{ $t('@.loading') }}<mk-ellipsis/></p>
|
||||
<template v-if="!fetching">
|
||||
|
||||
Reference in New Issue
Block a user