nostrmarket/static/components/customer-market/customer-market.js
2023-03-09 10:02:16 +00:00

18 lines
387 B
JavaScript

async function customerMarket(path) {
const template = await loadTemplateAsync(path)
Vue.component('customer-market', {
name: 'customer-market',
template,
props: ['products', 'change-page'],
data: function () {
return {}
},
methods: {
changePageM(page, opts) {
this.$emit('change-page', page, opts)
}
},
created() {}
})
}