init product detail component

This commit is contained in:
Tiago Vasconcelos 2023-03-02 15:38:57 +00:00
parent 800619df9f
commit 82ef0947cd
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
async function productDetail(path) {
const template = await loadTemplateAsync(path)
Vue.component('product-detail', {
name: 'product-detail',
template,
props: ['product'],
data: function () {
return {}
},
methods: {}
})
}