This commit is contained in:
@@ -3,6 +3,7 @@ import { createRouter, createWebHistory } from 'vue-router';
|
||||
import CatalogPage from '@/pages/CatalogPage.vue';
|
||||
import ListingDetailPage from '@/pages/ListingDetailPage.vue';
|
||||
import ProductDetailPage from '@/pages/ProductDetailPage.vue';
|
||||
import AdminImagePage from '@/pages/AdminImagePage.vue';
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHistory(),
|
||||
@@ -10,5 +11,6 @@ export default createRouter({
|
||||
{ path: '/', name: 'catalog', component: CatalogPage },
|
||||
{ path: '/listings/:id', name: 'listing-detail', component: ListingDetailPage },
|
||||
{ path: '/products/:slug', name: 'product-detail', component: ProductDetailPage },
|
||||
{ path: '/admin/inventory/:id/images', name: 'admin-image-manager', component: AdminImagePage },
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user