Skip to content

Lost slash in self-closing tag #4

Open
@impworks

Description

@impworks

When using a self-closing tag in the included template, the slash is lost in the output, For example:

template.html:

<div>
    <router-view />
</div>

control.js:

import template from './template.html';

Result:

var template = "<div>\r\n    <router-view>\r\n</div>";

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