Skip to content

Commit

Permalink
Removed: catalog and details pages from router and menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ravilodhi committed Sep 13, 2023
1 parent c1b1fb0 commit 62fee66
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
6 changes: 0 additions & 6 deletions src/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,6 @@ export default defineComponent({
iosIcon: shirt,
mdIcon: shirt,
},
{
title: "Catalog",
url: "/catalog",
iosIcon: albums,
mdIcon: albums,
},
{
title: "Settings",
url: "/settings",
Expand Down
14 changes: 0 additions & 14 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { RouteRecordRaw } from 'vue-router';
import Login from '../views/login.vue'
import Products from '../views/products.vue'
import ProductDetails from '../views/product-details.vue'
import CatalogProductDetails from '../views/catalog-product-details.vue'
import Orders from '../views/orders.vue'
import Catalog from '../views/catalog.vue'
import Settings from '../views/settings.vue'
import store from '@/store'

Expand Down Expand Up @@ -56,18 +54,6 @@ const routes: Array<RouteRecordRaw> = [
component: Orders,
beforeEnter: authGuard
},
{
path: '/catalog',
name: 'Catalog',
component: Catalog,
beforeEnter: authGuard
},
{
path: '/catalog-product-details/:productId/',
name: 'Catalog-product-details',
component: CatalogProductDetails,
beforeEnter: authGuard
},
{
path: '/settings',
name: 'Settings',
Expand Down

0 comments on commit 62fee66

Please sign in to comment.