Use # instead of v-slot:
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="mkw-messaging">
|
||||
<ui-container :show-header="props.design == 0">
|
||||
<template v-slot:header><fa icon="comments"/>{{ $t('title') }}</template>
|
||||
<template v-slot:func><button @click="add"><fa icon="plus"/></button></template>
|
||||
<template #header><fa icon="comments"/>{{ $t('title') }}</template>
|
||||
<template #func><button @click="add"><fa icon="plus"/></button></template>
|
||||
|
||||
<x-messaging ref="index" compact @navigate="navigate"/>
|
||||
</ui-container>
|
||||
|
Reference in New Issue
Block a user