tinro
tinro copied to clipboard
$router.from is inaccurate when clicking browser back button
Add $: console.log('router', $router)
- Start on an initial route, e.g."/"
- Click on
<a href='/test'>
to navigate to a new route. - Click the browser back button
The $router
object displays from: "/"
instead of from: "/test"
.
I think this is a bug but let me know if I'm missing something.
Thanks, I'll check this
Any update on this one?