summaryrefslogtreecommitdiff
path: root/src/router.js
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-23 21:33:13 +0100
committerGitHub <noreply@github.com>2021-03-23 21:33:13 +0100
commit67baef47414e15de9fd11c83275b8f30e8e21250 (patch)
tree2a68867468ca56db3e08a3eda4bc63a5e933203f /src/router.js
parent8a04db5cdb1fad22ddc0764cb60b2e5a9822a417 (diff)
parent9bbff6134c7068567a7a38b2de13472bff4c73e9 (diff)
Merge pull request #10 from gico-net/feat/search-commit
Search commit page
Diffstat (limited to 'src/router.js')
-rw-r--r--src/router.js8
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({