Skip to content

Adding I18N causes permission problems in the middleware #1458

@XiaoNode

Description

@XiaoNode

hey there:
some permission settings exist in my project,When accessing the userinfo page, you must log in first, otherwise you will jump to the auth(login) page. This part is done using middleware;

When I use official examples(readme.md) in projects,permission settings Something went wrong,When accessing the userinfo page,console tips:

[vue-router] Route with name 'auth' does not exist

What's going on?

Project address: https://github.com/XiaoNode/Nuxt2-temp

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