[Fixed] How to get current route


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'

Leave a Reply

(*) Required, Your email will not be published