Use v-slot instead of slot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="mk-ui">
|
||||
<x-header>
|
||||
<template slot="func"><slot name="func"></slot></template>
|
||||
<template v-slot:func><slot name="func"></slot></template>
|
||||
<slot name="header"></slot>
|
||||
</x-header>
|
||||
<x-nav :is-open="isDrawerOpening"/>
|
||||
|
||||
Reference in New Issue
Block a user