feat: add filters to mainpage

This commit is contained in:
2025-10-03 00:26:13 +03:00
parent 023acee68f
commit 1e2a9bc705
168 changed files with 5367 additions and 662 deletions

View File

@@ -9,9 +9,17 @@ import OrderCreated from "@/views/OrderCreated.vue";
import Search from "@/views/Search.vue";
const routes = [
{path: '/', name: 'home', component: Home},
{
path: '/',
name: 'home',
component: Home,
},
{path: '/product/:id', name: 'product.show', component: Product},
{path: '/products/:category_id', name: 'product.categories.show', component: Products},
{
path: '/products/:category_id',
name: 'product.categories.show',
component: Products,
},
{path: '/categories', name: 'categories', component: CategoriesList},
{path: '/category/:id', name: 'category.show', component: CategoriesList},
{path: '/cart', name: 'cart', component: Cart},