Skip to content

loopTags not working with multiple tags #74

@cossssmin

Description

@cossssmin

For example:

loopTags: ['for', 'each']
<each loop="item in array">
  {{ item }}
</each>

<for loop="item in array">
  {{ item }}
</for>

Currently it doesn't work, because the plugin only looks at the first tag in loopTags, it sees that it's for, and it fails.

Working on a PR right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions