We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f505a8 commit c07949dCopy full SHA for c07949d
packages/@vuepress/core/lib/app/components/Content.js
@@ -19,7 +19,7 @@ export default {
19
class: [data.class, data.staticClass],
20
style: data.style,
21
props: {
22
- slotKey: props.slot || 'default'
+ slotKey: props.slotKey || 'default'
23
}
24
})
25
packages/docs/docs/guide/markdown-slot.md
@@ -17,15 +17,15 @@ Markdown Slot is to solve this kind of problem.
17
You can define a named markdown slot through the following markdown syntax:
18
``` md
-::: slot [$name]
+::: slot name
:::
```
Use the `Content` component to use the slot in the layout component:
26
27
``` vue
28
-<Content slot="$name"/>
+<Content slot-key="name"/>
29
30
31
## Default Slot Content
0 commit comments