Add a search page

This commit is contained in:
dragongoose
2023-04-16 12:37:35 -04:00
parent 03dab22bb9
commit 9dd2b89fee
2 changed files with 99 additions and 0 deletions

View File

@ -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