feat: add basic customer orders

This commit is contained in:
Vlad Stan 2023-07-11 12:00:45 +03:00
parent 127f4148ea
commit 4817e594c9
4 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1 @@
<div>xxxx</div>

View file

@ -0,0 +1,18 @@
async function customerOrders(path) {
const template = await loadTemplateAsync(path)
Vue.component('customer-orders', {
name: 'customer-orders',
template,
props: ['orders'],
data: function () {
return {}
},
computed: {},
methods: {
},
created() { }
})
}

View file

@ -32,6 +32,7 @@ const market = async () => {
shoppingCart('static/components/shopping-cart/shopping-cart.html'),
shoppingCartList('static/components/shopping-cart-list/shopping-cart-list.html'),
shoppingCartCheckout('static/components/shopping-cart-checkout/shopping-cart-checkout.html'),
customerOrders('static/components/customer-orders/customer-orders.html'),
chatDialog('static/components/chat-dialog/chat-dialog.html'),
marketConfig('static/components/market-config/market-config.html')
])