@@ -62,7 +63,7 @@ export default {
},
toggleDrawer() {
this.drawer = !this.drawer;
- }
+ }
}
};
diff --git a/frontend/src/components/Product.vue b/frontend/src/components/Product.vue
index 72962c2a..66ad46dc 100644
--- a/frontend/src/components/Product.vue
+++ b/frontend/src/components/Product.vue
@@ -12,6 +12,10 @@
"{{product.description}}"
+
+ {{product.pictures}}
+
+
${{getPrice(product)}}
@@ -47,6 +51,10 @@ export default {
return 0;
}
},
+ getimage(product)
+ {
+ return product.pictures;
+ },
addProductToCart(product) {
this.$store.dispatch("addToCart", product);
},
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index ac46d085..ec856c7b 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -3,6 +3,7 @@
+