Skip to content

Commit cf675ff

Browse files
committed
Merge pull request #162 from rpkilby/router-export-fix
Move Router export to end of file
2 parents 54c8992 + c1e8ea4 commit cf675ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const historyBackends = {
2121
* @param {Object} [options]
2222
*/
2323

24-
export default class Router {
24+
class Router {
2525

2626
constructor ({
2727
hashbang = true,
@@ -133,3 +133,5 @@ Router.install = function (Vue) {
133133
if (typeof window !== 'undefined' && window.Vue) {
134134
window.Vue.use(Router)
135135
}
136+
137+
export default Router;

0 commit comments

Comments
 (0)