From 9dd2b89feee4ca75ba302f66303a4352bcfc2480 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Sun, 16 Apr 2023 12:37:35 -0400 Subject: [PATCH] Add a search page --- src/router/index.ts | 5 ++ src/views/SearchPageView.vue | 94 ++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 src/views/SearchPageView.vue diff --git a/src/router/index.ts b/src/router/index.ts index cca7a9f..2e26eef 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -4,6 +4,7 @@ const PageNotFound = () => import('../views/PageNotFound.vue') const PrivacyPageView = () => import('../views/PrivacyPageView.vue') const HomepageView = () => import('../views/HomepageView.vue') const CategoryView = () => import('../views/CategoryView.vue') +const SearchPageView = () => import('../views/SearchPageView.vue') const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -12,6 +13,10 @@ const router = createRouter({ path: '/', component: HomepageView }, + { + path: '/search', + component: SearchPageView + }, { path: '/game/:game', component: CategoryView diff --git a/src/views/SearchPageView.vue b/src/views/SearchPageView.vue new file mode 100644 index 0000000..1c13c1e --- /dev/null +++ b/src/views/SearchPageView.vue @@ -0,0 +1,94 @@ + + \ No newline at end of file