Skip to content

📎 Parse v-for directives more precisely. #8062

@dyc3

Description

@dyc3

Description

Vue's v-for directive has specific syntax that it uses in it's initializer.

<li v-for="item in items">
  {{ item.message }}
</li>

The HTML parser currently treats what's in the quotes as a generic string. However, some lint rules (like valid-v-for) require inspecting the contents of this string for better analysis.

Sub-issues

Metadata

Metadata

Assignees

Labels

A-ParserArea: parserL-HTMLLanguage: HTML and super languages

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions