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