language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

🐛 BUG: Arbritary attributes are not supported on Vue components

Open Princesseuh opened this issue 1 year ago • 0 comments

Describe the Bug

Vue components can pass down attributes to their children, either by using $attrs or having a single root element. Typing wise, this mean that Vue components can essentially be passed every single HTML attributes all the time

Steps to Reproduce

  1. Create Vue component with no props defined
  2. Add class attribute
  3. Error!

Princesseuh avatar Oct 05 '22 19:10 Princesseuh