We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece0e50 commit 69789f3Copy full SHA for 69789f3
src/index.js
@@ -24,7 +24,7 @@ Router.install = function (Vue) {
24
// auto install
25
/* istanbul ignore if */
26
if (typeof window !== 'undefined' && window.Vue) {
27
- Router.install(window.Vue)
+ window.Vue.use(Router)
28
}
29
30
module.exports = Router
0 commit comments