vue-router
vue-router copied to clipboard
Throw error when component is undefined or null (#2038)
Add assertion when a route component is null or undefined, a fix for issue #2038.
Really appreciate for a review.
Oh sorry I missed that. Will try to work on that.
Keep in mind you can run the tests locally too, it will save you some time 😄
Just now, I've tried to trace through what might be throwing error when it shouldn't. Then I found in Route Matching
that the routes does not have any components nor any other options like redirections, aliases. So I think it is probably better to just warn instead of asserting error.
You might want to review it again. Anyway thanks for the guide.