nuxtlabs / nuxt-component-meta

Gather Nuxt components metadata on build time and make them available on production.
69 stars 6 forks source link

feat: detect `$slots` usages in template #26

Closed farnabaz closed 1 year ago

farnabaz commented 1 year ago

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