Skip to content

Template Breaks on native JS keyword #142

@maxwellmandela

Description

@maxwellmandela

How can I go about solving this? Using vuejs version: 2.5.7

[Vue warn]: Error compiling template:

  • avoid using JavaScript keyword as property name: "class"
    Raw expression: :class="class"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions