From 9bbff6134c7068567a7a38b2de13472bff4c73e9 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 23 Mar 2021 21:30:34 +0100 Subject: feat: search page --- src/router.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/router.js') 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({ -- cgit v1.2.3-18-g5258