Skip to content

Commit 2209dab

Browse files
authored
feat(vue): Drop vue-router peerDep (#4764)
We previously added vue-router as a peer dependency because we rely on it's existence for Vue Performance Monitoring's router instrumentation. We never import directly from this though, we always rely on the user passing it in afterwards. As such, we don't really need to define a peerDep for the vue-router package. We use a similar pattern for the react-router stuff, and it has worked out super well.
1 parent 69c6874 commit 2209dab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/vue/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"tslib": "^1.9.3"
2525
},
2626
"peerDependencies": {
27-
"vue": "2.x || 3.x",
28-
"vue-router": "3.x || 4.x"
27+
"vue": "2.x || 3.x"
2928
},
3029
"devDependencies": {
3130
"jsdom": "^16.2.2"

0 commit comments

Comments
 (0)