general fixes, prop passing and shopping cart (doesn't send dm)

This commit is contained in:
Tiago Vasconcelos 2023-03-04 19:49:58 +00:00
parent f71b9f56d9
commit 52f8dead0e
11 changed files with 355 additions and 96 deletions

View file

@ -4,23 +4,14 @@ async function productDetail(path) {
name: 'product-detail',
template,
props: ['product'],
props: ['product', 'add-to-cart'],
data: function () {
return {
slide: 1
}
},
computed: {
win_width() {
return this.$q.screen.width - 59
},
win_height() {
return this.$q.screen.height - 0
}
},
computed: {},
methods: {},
created() {
console.log('ping')
}
created() {}
})
}