Skip to content

Using .addRoutes when you've got a wildcard route for 404s does not work #1176

@Dadibom

Description

@Dadibom

Vue.js / vue-router versions

2.1.10 / 2.2.1

Reproduction Link

https://jsfiddle.net/ytezcvzq/4/

Steps to reproduce

Add a new route when you've already got a wildcard route to display page not found messages

What is Expected?

The new route should be matched before the wildcard route

What is actually happening?

the wildcard route is matched first, meaning addRoutes does not work

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