feat: add user-chat
This commit is contained in:
parent
3c8bdf5881
commit
ab6f59e314
5 changed files with 36 additions and 4 deletions
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 () {
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue