vue-router
vue-router copied to clipboard
🚦 The official router for Vue 2
Similar to the way you can define a `scrollBehavior` function on a router instance, I need a way to define how the `savedPosition` value gets computed/populated. I need to override...
### Vue.js & vue-router.js version 2.5.17 & 3.0.1 ### Reproduction Link https://jsfiddle.net/8xrk1n9f/1279/ ### Steps to reproduce ``` javascript router.map({ '/foo': { component: Foo }, '/bar': { component: Bar } })...
✅ Closes: #3656
### Version 3.4.3 ### Reproduction link ```html Document Go to Memory Leak home (using this link won't hold memory) const leak = { template: ` Back {{ span.text }} `,...
### Version 3.5.3 ### Reproduction link [localhost/active-links/abouT](http://localhost:8080/active-links/abouT) ### Steps to reproduce - Run `yarn run dev` in the root path of the project - Go to http://localhost:8080/active-links/abouT ### What is...
### What problem does this feature solve? Right now, if we want to open a link in a new tab (or page), we can use target="_blank". In some cases, I...
Closes #1620 Resolve conflicting files on related pull request #1906
### Version 3.5.1 ### Reproduction link [https://github.com/vuejs/vue-router/blob/dev/types/router.d.ts#L203](https://github.com/vuejs/vue-router/blob/dev/types/router.d.ts#L203) ### Steps to reproduce None, just the source code seems to be wrong. ### What is expected? The type definition of Route#query should...
### What problem does this feature solve? Every language in the docs show version 2.0 and I think it should be the last updated version. Right now if a user...
Fixed wrong key exists check in parseQuery function, that broke query parameters if values named as object prototype properties. https://router.vuejs.org/?hasOwnProperty