router
router copied to clipboard
🚦 The official router for Vue.js
as i was really struggling with the nginx example, because i deployed in a docker nginx-alpine image that doesn't need any config in development mode with hash-router, i changed the...
It's time!
### Reproduction https://stackblitz.com/edit/github-vsw8ta-jmb12sfz?file=app1%2Fsrc%2Fviews%2FRemoteView.vue,app2%2Fsrc%2Fexport-app.ts ### Steps to reproduce the bug 1. Go to the host application's homepage. 2. Click on the "Remote Home" link (loads remote app). 3. Then click on...
## Description This PR provide two vapor components: `VaporRouterView` and `VaporRouterLink`. I'm not sure whether we should provide a `vue-router/vapor` for users to make migration easier. ```tsx import { RouterView...
### Reproduction https://paths.esm.dev/?p=AAMeJQ2BuMDAFAF2JXAJkhXgAXQAzhugPUAFGBrQSoB0AJln0DVAEgARIKDWCMwAtwdU5FqlITEMcMRpSTgHfQgIKUrpRABA&t=/a/section:abc ### Steps to reproduce the bug There are two related bugs, but seem to be triggered by the same issue (the reproduction link shows both bugs). 1....
Upgrade the playground package to use the `` syntax and TypeScript. This change makes the playground more consistent with recent Vue.js practices and improves type safety. Keep the purpose of...
### What problem is this solving Navigate to an unknown route isn't catch by typescript. ```ts export const router = createRouter({ routes: [ { path: "/foo", component: () => import("./pages/foo.vue")...
### Reproduction https://stackblitz.com/edit/vitejs-vite-a1m7gbnq ### Steps to reproduce the bug 1. Open [the reproduction link](https://stackblitz.com/edit/vitejs-vite-a1m7gbnq) 2. Click on third item (`Go to Feature one`) 3. Check the active classes applied to...
### Reproduction https://github.com/char101/vue1 ### Steps to reproduce the bug 1. Run `pnpm run dev` 2. Click button, verify that the counter is increasing 3. Add a comment on `Test.vue` to...