19 lines
362 B
JavaScript
19 lines
362 B
JavaScript
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 () {
|
|
|
|
}
|
|
})
|
|
}
|