diff --git a/static/components/customer-orders/customer-orders.html b/static/components/customer-orders/customer-orders.html new file mode 100644 index 0000000..fa3c475 --- /dev/null +++ b/static/components/customer-orders/customer-orders.html @@ -0,0 +1 @@ +
xxxx
\ No newline at end of file diff --git a/static/components/customer-orders/customer-orders.js b/static/components/customer-orders/customer-orders.js new file mode 100644 index 0000000..ba8ecd2 --- /dev/null +++ b/static/components/customer-orders/customer-orders.js @@ -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() { } + }) +} diff --git a/static/js/market.js b/static/js/market.js index f5134ef..0100a28 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -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') ]) diff --git a/templates/nostrmarket/market.html b/templates/nostrmarket/market.html index bf1bff2..c608f7e 100644 --- a/templates/nostrmarket/market.html +++ b/templates/nostrmarket/market.html @@ -181,6 +181,8 @@ User Config + Orders Shopping Cart @@ -216,7 +218,8 @@ - + @@ -320,6 +323,7 @@ +