forked from jkithome/vue-todo
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ben Richter
committed
Apr 11, 2018
1 parent
219be61
commit 1aac6dd
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import Vue from 'vue' | ||
import Router from 'vue-router' | ||
|
||
import ListView from './components/ListView/_ListView.vue' | ||
|
||
export default (Vue) => { | ||
Vue.use(Router) | ||
Vue.use(Router) | ||
|
||
export default new Router({ | ||
routes: [ | ||
{ | ||
path: '/', | ||
name: 'list-view', | ||
component: ListView, | ||
}, | ||
], | ||
}) | ||
|
||
return new Router({ | ||
routes: [ | ||
{ | ||
path: '/', | ||
name: 'list-view', | ||
component: ListView, | ||
}, | ||
], | ||
}) | ||
} |