summaryrefslogtreecommitdiff
path: root/src/router.js
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-23 21:30:34 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-23 21:30:34 +0100
commit9bbff6134c7068567a7a38b2de13472bff4c73e9 (patch)
tree2a68867468ca56db3e08a3eda4bc63a5e933203f /src/router.js
parentfa76107eeca937667e10648e9bccb4decd343268 (diff)
feat: search 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({