Skip to content

Commit a44ace2

Browse files
committed
chore: push another issue to solve
1 parent e1a5eb0 commit a44ace2

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

playground/components/mdc/Hero.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<template>
2+
<section class="pt-4">
3+
<h1 class="text-4xl">
4+
<MDCSlot :use="$slots.default" unwrap="p" />
5+
</h1>
6+
<MDCSlot :use="$slots.description" />
7+
</section>
8+
</template>

playground/pages/unwrap.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ const mdList = `
55
`
66
77
const mdc = `
8+
::hero
9+
Hello World
10+
11+
#description
12+
This is a description
13+
::
14+
815
::callout
916
This is a callout
1017
::

0 commit comments

Comments
 (0)