ProductCard redesigned, add property for number of items in stock for product

This commit is contained in:
2024-09-22 15:06:10 +02:00
parent 3863661b3c
commit 47fbb564b2
10 changed files with 212 additions and 72 deletions

View File

@@ -23,7 +23,7 @@ watch(() => productStore.onlyDiscounts, async () => { productStore.filterProduct
</script>
<template>
<v-container>
<v-container max-width="1000">
<v-row>
<v-col>
<alert-banner />
@@ -34,7 +34,7 @@ watch(() => productStore.onlyDiscounts, async () => { productStore.filterProduct
<v-col
v-if="productStore.filteredProducts.length > 0"
v-for="product in productStore.filteredProducts"
cols="12" sm="6" lg="4" xl="3"
cols="12"
>
<product-card
:product="product"