in progress

This commit is contained in:
Thomas
2020-02-24 17:25:57 +01:00
parent 2143b99606
commit 5ea6dcfaa1
10 changed files with 121 additions and 65 deletions
+5 -33
View File
@@ -9,6 +9,11 @@ export default {
async asyncData ({ $shopify }) {
const products = await $shopify.product.fetchAll()
return { products }
},
created () {
this.$shopify.checkout.create().then((checkout) => {
this.$store.commit('setCheckout', checkout)
})
}
}
</script>
@@ -17,37 +22,4 @@ export default {
.full-width {
width: 100%;
}
.el-row {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
.el-col {
border-radius: 4px;
}
.bg-purple-dark {
background: #99a9bf;
}
.bg-purple {
background: #d3dce6;
}
.bg-purple-light {
background: #e5e9f2;
}
.grid-content {
border-radius: 4px;
min-height: 36px;
}
.row-bg {
padding: 10px 0;
background-color: #f9fafc;
}
.image {
width: 100%;
height: 15rem;
}
.description {
margin-bottom: 1rem;
}
</style>