vue-router
vue-router copied to clipboard
🚦 The official router for Vue 2
### Version 3.0.1 ### Reproduction link [https://webcache.googleusercontent.com/search?q=cache:6OY0sSJqj5kJ:https://my-site.com/ &cd=1&hl=ru&ct=clnk&gl=ua](https://webcache.googleusercontent.com/search?q=cache:6OY0sSJqj5kJ:https://my-site.com/ &cd=1&hl=ru&ct=clnk&gl=ua) ### Steps to reproduce * open in google link site:my-site.com * choose in search result "saved copy" * you open page...
There are times when it's useful to peek at what the previous page was. With normal page navigation, `document.referrer` stores the previous URL, but the HTML5 History API doesn't update...
### What problem does this feature solve? As composition api has been incoporated in vue 2.7, `vue-router` should provide `useRoute` and `useRouter` to enable router usage in ``. ### What...
### What problem does this feature solve? Mobile apps that want to save scroll position for elements besides window. This would also allow the user to save whatever they want...
Hey there. This is more of a question than a bug, but could turn into a feature request, if there is no way to currently handle this. tl;dr; - Is...
### What problem does this feature solve? Hi, everyone! First of all, thanks a lot for have created this awesome router manager! I love it! Actually, it's not a feature...
- [x] useRoute, useRouter - [ ] useLink - [ ] onBeforeRouteLeave, onBeforeRouteUpdate - [x] NavigationFailureType, isNavigationFailure, START_LOCATION - [ ] update build script - [ ] update unit test
### Version 3.0.1 ### Reproduction link ~~[https://codepen.io/wrrrn/pen/GxqmOb](https://codepen.io/wrrrn/pen/GxqmOb)~~ http://jsfiddle.net/7a31maev/1/ ### Steps to reproduce I've linked to what the current router code is. The issue is simple, so I hope I'm missing...
### Version 3.0.2 ### Reproduction link jsfiddle.net/bqaxhgkc ### Steps to reproduce Inside `beforeEnter` try to modify query parameters by passing `next({ query: {'my-param': 'new-value'} })` ### What is expected? Query...