diff options
Diffstat (limited to 'iridescence/src/components/ProductList.vue')
-rw-r--r-- | iridescence/src/components/ProductList.vue | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/iridescence/src/components/ProductList.vue b/iridescence/src/components/ProductList.vue deleted file mode 100644 index bed37b3..0000000 --- a/iridescence/src/components/ProductList.vue +++ /dev/null @@ -1,32 +0,0 @@ -<template> - <div id="productsList"> - <div class="columns is-multiline is-variable is-7-desktop"> - <div - class="column is-one-quarter" - v-for="product in products" - :key="product.id" - > - <ProductCard v-bind="product"></ProductCard> - </div> - </div> - </div> -</template> - -<script> -import ProductCard from "@/components/ProductCard.vue"; - -export default { - name: "ProductsList", - components: { - ProductCard - }, - computed: { - products() { - return this.$store.getters.products; - } - }, - created() { - this.$store.dispatch("refreshProducts"); - } -}; -</script> |