feat: add public product detail web flow
This commit is contained in:
@@ -2,11 +2,13 @@ import { createRouter, createWebHistory } from 'vue-router';
|
||||
|
||||
import CatalogPage from '@/pages/CatalogPage.vue';
|
||||
import ListingDetailPage from '@/pages/ListingDetailPage.vue';
|
||||
import ProductDetailPage from '@/pages/ProductDetailPage.vue';
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [
|
||||
{ path: '/', name: 'catalog', component: CatalogPage },
|
||||
{ path: '/listings/:id', name: 'listing-detail', component: ListingDetailPage },
|
||||
{ path: '/products/:slug', name: 'product-detail', component: ProductDetailPage },
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user