Skip to content

How to handle this Vue Warning "Error when evaluating expression auth.user.profile.*" #6

@brickgale

Description

@brickgale

This not an issue on the current build of branch 1.0 but was wondering if ever you are now on Dashboard or any child component on vue router, it seems that it will render an error when route go since DOM will be rendered first before the http call on parent component, App.vue, auth.check() call. My problem is that how should we wait for the on ready function call of auth.check() on a child component route when we display something on template {{ auth.user.profile.* }} gets an error. (P.S this error won't really break the process but it's just something that I'm wondering how to handle it better)

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