You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you want to repeat a slot, it has to be scoped.
When you use a scoped slot, something has to be bound.
When something is bound, but never used, the eslint rule vue/no-unused-vars kicks in and raises an error or warning.
You can't both use a slot simply for repeatability and have the eslint rule active.
What does the proposed API look like?
I don't know exactly how to solve this, but there should probably be a way to mark a slot as scoped, without having to bind anything, in both parent and child component. <span slot-scope>
Or add a new type of behaviour to slots, that allow repetition without it being scoped. <span slot-repeatable>
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
When you want to repeat a slot, it has to be scoped.
When you use a scoped slot, something has to be bound.
When something is bound, but never used, the eslint rule
vue/no-unused-vars
kicks in and raises an error or warning.You can't both use a slot simply for repeatability and have the eslint rule active.
What does the proposed API look like?
I don't know exactly how to solve this, but there should probably be a way to mark a slot as scoped, without having to bind anything, in both parent and child component.
<span slot-scope>
Or add a new type of behaviour to slots, that allow repetition without it being scoped.
<span slot-repeatable>
The text was updated successfully, but these errors were encountered: