Skip to content

Conversation

@farnabaz
Copy link
Collaborator

@farnabaz farnabaz commented Jul 15, 2022

Detect slots using $slots variable in the template.

This will allow detecting Content specific slots using <Markdown /> component.

<Markdown :use="$slots.foobar" />
<Markdown :use="$slots['foo-bar']" />

resolves #13

@farnabaz farnabaz merged commit ec35351 into main Jul 18, 2022
@farnabaz farnabaz deleted the feat/-usage branch July 18, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support <Markdown> component detection from Docus for slots

2 participants