add customer stall component, remove toolbar
This commit is contained in:
parent
4fa136164a
commit
800619df9f
3 changed files with 249 additions and 15 deletions
17
static/components/customer-stall/customer-stall.js
Normal file
17
static/components/customer-stall/customer-stall.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
async function customerStall(path) {
|
||||
const template = await loadTemplateAsync(path)
|
||||
Vue.component('customer-stall', {
|
||||
name: 'customer-stall',
|
||||
template,
|
||||
|
||||
props: ['stall', 'products', 'exchange-rates'],
|
||||
data: function () {
|
||||
return {}
|
||||
},
|
||||
methods: {},
|
||||
created() {
|
||||
console.log(this.stall)
|
||||
console.log(this.products)
|
||||
}
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue