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