JetBrains / web-types

JSON standard for documenting web component libraries for IDEs, documentation generators and other tools
Apache License 2.0
279 stars 25 forks source link

Vue.js: merge vue-scoped-slots with slot. #10

Closed piotrtomiak closed 4 years ago

piotrtomiak commented 4 years ago

The only difference between vue-scoped-slots and slots is the properties property. Let's get rid of vue-scoped-slots and add vue-properties property to slots objects.

@tmorehouse @panstromek What do you think about the change?

panstromek commented 4 years ago

Makes sense to me - since 2.6, all Vue's slots are scoped slots, they just use or not use that scope. Moreover, it seems that in 3.0, the distinction between slots and scoped slots won't be there at all.

tmorehouse commented 4 years ago

Yeah, all slots are technically scoped in 2.6+