feat: Implement market functionality with ProductCard, useMarket composable, and market store

- Add ProductCard.vue component for displaying product details, including image, name, description, price, and stock status.
- Create useMarket.ts composable to manage market loading, data fetching, and real-time updates from Nostr.
- Introduce market.ts store to handle market, stall, product, and order states, along with filtering and sorting capabilities.
- Develop Market.vue page to present market content, including loading states, error handling, and product grid.
- Update router to include a new market route for user navigation.
This commit is contained in:
padreug 2025-08-02 16:50:25 +02:00
parent 2fc87fa032
commit 4d3d69f527
6 changed files with 1079 additions and 1 deletions

View file

@ -39,6 +39,15 @@ const router = createRouter({
title: 'My Tickets',
requiresAuth: true
}
},
{
path: '/market',
name: 'market',
component: () => import('@/pages/Market.vue'),
meta: {
title: 'Market',
requiresAuth: true
}
}
]
})