Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: detect $slots usages in template #26

Merged
merged 2 commits into from
Jul 18, 2022
Merged

feat: detect $slots usages in template #26

merged 2 commits into from
Jul 18, 2022

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
# for free to join this conversation on GitHub. Already have an account? # 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
1 participant