add to cart links for products in home

This commit is contained in:
2021-06-09 13:06:52 +02:00
parent d9d2180f94
commit 352223500f
25 changed files with 561 additions and 249 deletions

View File

@@ -1,9 +1,11 @@
<script>
import Vue from 'vue'
import productsMixins from 'vuejs/components/productsMixins'
export default {
props: ['html', 'full'], // get the html from parent with props
mixins: [productsMixins],
data() {
return {
template: null, // compiled template from html used in render
@@ -151,7 +153,7 @@ export default {
},
watch: {
html: function(val) {
console.log('html prop changed', val)
// console.log('html prop changed', val)
this.compileTemplate()
}
}