nostrmarket/static/components/customer-stall/customer-stall.js
2023-03-02 15:37:21 +00:00

17 lines
373 B
JavaScript

async function customerStall(path) {
const template = await loadTemplateAsync(path)
Vue.component('customer-stall', {
name: 'customer-stall',
template,
props: ['stall', 'products', 'exchange-rates'],
data: function () {
return {}
},
methods: {},
created() {
console.log(this.stall)
console.log(this.products)
}
})
}