feat: add basic stall list
This commit is contained in:
parent
e37d385a2c
commit
ad0ac073ab
4 changed files with 94 additions and 6 deletions
20
static/components/customer-stall-list/customer-stall-list.js
Normal file
20
static/components/customer-stall-list/customer-stall-list.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
async function customerStallList(path) {
|
||||
const template = await loadTemplateAsync(path)
|
||||
|
||||
Vue.component('customer-stall-list', {
|
||||
name: 'customer-stall-list',
|
||||
template,
|
||||
|
||||
props: ['stalls'],
|
||||
data: function () {
|
||||
return {}
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
|
||||
},
|
||||
created() {
|
||||
console.log('### stalls', this.stalls)
|
||||
}
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue