router icon indicating copy to clipboard operation
router copied to clipboard

🚦 The official router for Vue.js

Results 85 router issues
Sort by recently updated
recently updated
newest added

### Version 4.1.3 ### Reproduction link [stackblitz.com](https://stackblitz.com/edit/vitejs-vite-ov33pc?file=vite.config.ts&terminal=build) ### Steps to reproduce When setting `noExternal: ['vue-router']`, vite will include vue-router in the SSR bundle, too. According to current 'exports' config, it...

discussion

When a query param is not present the query value is `undefined`, but the type is only `string | null`. Here is the extract of code where I had this...

typescript
💥 breaking change

Visualized the text content of the last section of the "guide/advanced/navigation-guards.md" document: "The Full Navigation Resolution Flow". If there is no problem with the content, it seems easier to understand...

docs

### Version 4.1.3 ### Reproduction link [router.vuejs.org](https://router.vuejs.org/api/interfaces/Router.html#aftereach) ### Steps to reproduce See the minimal link. The main content describing this method has two return sections. Also, the return section repeats...

contribution welcome
docs
meta

### Version 4.0.15 ### Reproduction link [codesandbox.io](https://codesandbox.io/s/elegant-water-r57e9w?file=/src/App.vue) ### Steps to reproduce 1. Open the [minimal reproduction](https://codesandbox.io/s/elegant-water-r57e9w?file=/src/App.vue) in firefox. 2. Click the header1. 3. Click the header2. 4. Click the header1...

bug
has workaround
browser quirk

Made changes to the documentation to make it use vitepress v1.0.0-alpha.4. The change is not 1:1 yet but I will try to add also the other missing components that came...

### Version 3.0.3 ### Reproduction link [https://codesandbox.io/s/nifty-roentgen-67uyr](https://codesandbox.io/s/nifty-roentgen-67uyr) [without vue router](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbiAgaW1wb3J0IFZpZXdBIGZyb20gJy4vVmlld0EudnVlJ1xuICBpbXBvcnQgVmlld0IgZnJvbSAnLi9WaWV3Qi52dWUnXG4gIGltcG9ydCB7IHJlZiwgc2hhbGxvd1JlZiwgcHJvdmlkZSwgb25Nb3VudGVkLCBtYXJrUmF3IH0gZnJvbSAndnVlJ1xuICBcbiAgY29uc3QgdmlldyA9IHNoYWxsb3dSZWYoVmlld0EpXG4gIHNldFRpbW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IlxuICBcbiAgY29uc3QgbmVzdGVkID0gaW5qZWN0KCduZXN0ZWQnKVxuICBcbiAgd2F0Y2gobmVzdGVkLCAoKSA9PiB7XG4gICAgY29uc29sZS5sb2coYHdhdGNoZXIgZnJvbSBWaWV3QmApXG4gIH0pXG48L3NjcmlwdD5cblxuPHRlbXBsYXRlPlxuICA8ZGl2PlxuICAgIDxoMz5WaWV3IEI8L2gzPlxuICAgIG5lc3RlZDoge3sgbmVzdGVkIH19XG4gIDwvZGl2PlxuPC90ZW1wbGF0ZT4ifQ==) ### Steps to reproduce There is 5 files in the project. These files are App.vue, UserCenter/Index.vue, UserCenter/Push.vue, List/Index.vue, List/Detail.vue. Two...

help wanted
external

### Version 4.1.2 ### Reproduction link [codesandbox.io](https://codesandbox.io/s/competent-water-6ukz7b?file=/src/App.vue) ### Steps to reproduce 1. Configure your router. 2. Go to router. 3. throws an error. ### What is expected? `` renders the...

docs

### Version 4.0.15 ### Reproduction link [stackblitz.com](https://stackblitz.com/edit/vue3-vue-router-meta-layout-z1a2yv?file=src/components/AppLink.vue) ### Steps to reproduce There's an issue with reactivity in the template when extending the routerlink as per example from the docs: https://router.vuejs.org/guide/advanced/extending-router-link.html...

enhancement
typescript
docs

### Version 4.0.12 ### Reproduction link [stackblitz.com](https://stackblitz.com/edit/vitejs-vite-b58tid) ### Steps to reproduce When there are nested routes in which each nested RouterView has its own Suspense, navigating again before suspense resolves...

bug
external
feat:suspense