Skip to content

Directives console error #424

@skirtles-code

Description

@skirtles-code

If you access the page /api/directives.html in a local build of the docs you'll see a console error.

The error relates to this sentence in directives.md:

If you need to update the part of `textContent`, you should use `{{ mustache }}` interpolations.

The {{ mustache }} is being interpreted rather than being treated as literal text. The output looks like this:

Shaved mustache

I'm not really clear whether this is a bug in the underlying engine or just something to be corrected in the documentation. I managed to hack it into submission with:

<template v-pre>`{{ mustache }}`</template>

It'd probably be better just to rewrite the whole sentence.

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