Use new slot format
This commit is contained in:
parent
2cbf44ccd9
commit
c787627798
|
@ -1,7 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<banner>
|
<banner>
|
||||||
<project-breadcrumb slot="banner-left"></project-breadcrumb>
|
<template v-slot:banner-left>
|
||||||
|
<project-breadcrumb/>
|
||||||
|
</template>
|
||||||
</banner>
|
</banner>
|
||||||
Project
|
Project
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<banner>
|
<banner>
|
||||||
<project-search slot="sub-banner"></project-search>
|
<template v-slot:sub-banner>
|
||||||
|
<project-search/>
|
||||||
|
</template>
|
||||||
</banner>
|
</banner>
|
||||||
|
|
||||||
<div class="max-w-6xl mx-auto p-6 xl:px-0">
|
<div class="max-w-6xl mx-auto p-6 xl:px-0">
|
||||||
|
|
Loading…
Reference in a new issue