Closed
Description
Version
2.5.2
Reproduction link
http://jsfiddle.net/qkco53b9/1/
Steps to reproduce
Run the example. Look at the console.
What is expected?
Inserting a router link to a named route that doesn't exist should warn.
What is actually happening?
The console spews both warnings about the missing named routes and errors about not being able to access the regex
property of a route.
I'm building an SPA and inserting placeholder links to pages I haven't built yet.
It looks like the problem might be here:
vue-router/src/create-matcher.js
Line 39 in 4de549a