feat: add shopping-cart list
This commit is contained in:
parent
6152f6b0de
commit
676ab5cc1b
4 changed files with 29 additions and 1 deletions
|
|
@ -0,0 +1,3 @@
|
|||
<div>
|
||||
xxxx
|
||||
</div>
|
||||
18
static/components/shopping-cart-list/shopping-cart-list.js
Normal file
18
static/components/shopping-cart-list/shopping-cart-list.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
async function shoppingCartList(path) {
|
||||
const template = await loadTemplateAsync(path)
|
||||
|
||||
Vue.component('shopping-cart-list', {
|
||||
name: 'shopping-cart-list',
|
||||
template,
|
||||
|
||||
props: ['carts', 'products'],
|
||||
data: function () {
|
||||
return {}
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
|
||||
},
|
||||
created() { }
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue