Skip to content

Comments

fix(vue): update vue-router peer dependency to support v5#763

Merged
johnjenkins merged 1 commit intostenciljs:mainfrom
kainulla:fix/vue-router-v5-peer-dep
Feb 16, 2026
Merged

fix(vue): update vue-router peer dependency to support v5#763
johnjenkins merged 1 commit intostenciljs:mainfrom
kainulla:fix/vue-router-v5-peer-dep

Conversation

@kainulla
Copy link
Contributor

Resolves #760

Summary

Updates the vue-router peer dependency in @stencil/vue-output-target to accept both v4 and v5: "^4.5.0 || ^5.0.0".

Vue Router v5 has no breaking changes, so this is a safe range expansion.

Changes

  • packages/vue/package.json: peer dep updated to ^4.5.0 || ^5.0.0, dev dep bumped to ^5.0.0
  • example-project/vue-app/package.json: bumped to ^5.0.0
  • pnpm-lock.yaml: regenerated

Testing

  • All 25 existing tests pass with vue-router 5.0.2
  • TypeScript compilation clean
  • Types (RouteLocationAsPathGeneric, RouteLocationAsRelativeGeneric) confirmed present in v5

Resolves stenciljs#760

- Updated peerDependencies to accept both v4 and v5: "^4.5.0 || ^5.0.0"
- Bumped devDependencies and example app to vue-router v5
- All existing tests pass with vue-router 5.0.2
@kainulla kainulla requested a review from a team as a code owner February 16, 2026 11:50
@johnjenkins johnjenkins merged commit 59b31fd into stenciljs:main Feb 16, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Update vue-router peer dependency to support v5

2 participants