Skip to content

vue-pug/vue-jade interprets boolean attributes wrong #273

Closed
@carboniris

Description

@carboniris

The following Pug/Jade:

div(v-b-toggle.accordion)

results in the following HTML:

<div v-b-toggle.accordion="v-b-toggle.accordion"></div>

instead of:

<div v-b-toggle-accordion></div>

This can be fixed by setting the compiler option doctype: 'html'.

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