feat: add empty user config
This commit is contained in:
parent
1eaf9f611d
commit
3c8bdf5881
4 changed files with 38 additions and 6 deletions
8
static/components/user-config/user-config.html
Normal file
8
static/components/user-config/user-config.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<q-card>
|
||||
<div class="q-pa-md">
|
||||
<div class="q-gutter-y-md">
|
||||
xxxx
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</q-card>
|
||||
19
static/components/user-config/user-config.js
Normal file
19
static/components/user-config/user-config.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
async function userConfig(path) {
|
||||
const template = await loadTemplateAsync(path)
|
||||
Vue.component('user-config', {
|
||||
name: 'user-config',
|
||||
props: ['user',],
|
||||
template,
|
||||
|
||||
data: function () {
|
||||
return {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
created: async function () {
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
@ -35,7 +35,8 @@ const market = async () => {
|
|||
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')
|
||||
marketConfig('static/components/market-config/market-config.html'),
|
||||
userConfig('static/components/user-config/user-config.html')
|
||||
])
|
||||
|
||||
new Vue({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue