The current docs only talk about getting route params, not the actual route segments.
For example, if i want to find the parent of current route, how is that possible?
The new V3 router has a url property.
this.router.url === '/login'
2.1m questions
2.1m answers
60 comments
57.0k users