Skip to content

vue directives in v-html directive #1468

@envomer

Description

@envomer

I am trying to parse HTML text that uses some vue directives.

var content = '<a v-link="{path: \'/somewhere\'}"> redirect </a>'.

Inside my html file i've got

<div v-html="content"></div>

Is there any way to parse that content?

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