init shopping cart
This commit is contained in:
parent
8a2bc0e345
commit
1b5079a88d
2 changed files with 17 additions and 0 deletions
1
static/components/shopping-cart/shopping-cart.html
Normal file
1
static/components/shopping-cart/shopping-cart.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<q-btn dense round flat icon="shopping_cart" class="q-ml-md"></q-btn>
|
||||||
16
static/components/shopping-cart/shopping-cart.js
Normal file
16
static/components/shopping-cart/shopping-cart.js
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
async function shoppingCart(path) {
|
||||||
|
const template = await loadTemplateAsync(path)
|
||||||
|
|
||||||
|
Vue.component('shopping-cart', {
|
||||||
|
name: 'shopping-cart',
|
||||||
|
template,
|
||||||
|
|
||||||
|
props: [],
|
||||||
|
data: function () {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
computed: {},
|
||||||
|
methods: {},
|
||||||
|
created() {}
|
||||||
|
})
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue