6.2.0 • Published 10 months ago

@evomark/vue-forward-slots v6.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Vue Forward Slots

Effortlessly forward slots to child components in Vue 3 applications.

Fork Features

Forked from https://github.com/jessegall/vue-forward-slots, this version offers a few additional features:

  • Automatically pass-through attributes to the wrapped component
  • New inherit-attrs prop for the ForwardSlots component, default is true
  • Support RegExp for only and except props or as array items for either
  • Support wildcard matches at the start or end of items, e.g. :only="['item*']" or :except="['*prepend']"
  • Extensive tests run against the library via Vitest and Vue Test Utils

Original Features

  • Easily forward all slots or specific slots to child components
  • Simple and declarative syntax

For full information on installing and using this package, please visit the evoMark Vue Forward Slots page on our website.

6.2.0

10 months ago

6.1.4

10 months ago

6.1.3

10 months ago

6.1.2

10 months ago

6.1.1

10 months ago

6.1.0

10 months ago

6.0.0

11 months ago