diff options
Diffstat (limited to 'src/router.js')
-rw-r--r-- | src/router.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/router.js b/src/router.js index 9363d15..9be8616 100644 --- a/src/router.js +++ b/src/router.js @@ -3,6 +3,7 @@ import VueRouter from 'vue-router' import Home from '@/views/Home.vue' import Commit from '@/views/Commit.vue' +import Search from '@/views/Search.vue' Vue.use(VueRouter) @@ -17,7 +18,12 @@ const routes = [ name: 'Commit', component: Commit, props: true - } + }, + { + path: '/search', + name: 'Search', + component: Search, + }, ] const router = new VueRouter({ |