Skip to content

🐛 BUG: Arbritary attributes are not supported on Vue components #14686

@Princesseuh

Description

@Princesseuh

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P3: minor bugAn edge case that only affects very specific usage (priority)good first issueGood for newcomers. If you need additional guidance, feel free to post in #contribute on Discordpkg: language-toolsRelated to language-tooling (scope)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions