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.
2 parents 1b7ed17 + 69789f3 commit 6a25023Copy full SHA for 6a25023
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
export default Router
0 commit comments