Skip to content

returning nothing make the app bug silently #297

@ScreamZ

Description

@ScreamZ

Hello,

I'm using nuxt which is using vue-meta with a head object.

If you do the following, this break interface silently :

head() {
    return;
}

instead you have to do the following

head() {
    return null;
}

// OR

head() {
    return {};
}

I think add a check for this and dispatch at least a console warning could be nice.

Regards :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions