Skip to content

v-pre on the component's root element #2026

@simplesmiler

Description

@simplesmiler

If v-pre is used on the component's root element, Vue fails with the unhelpful message Failed to resolve directive: pre. I believe it should turn the instance into fragment instance instead.

Repro: https://jsfiddle.net/simplesmiler/uwt0qx4z/

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