Skip to content

Component arguments that are not valid JS identifiers #887

Closed
@vp2177

Description

@vp2177

REPL
When b-c='2' is changed to, say, b_c='2' it works.

The problem is the generated code has data: {b-c: 2}, where b-c is not quoted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions