README
test-lib2
Check demo if is working:
<div id="app">
<xf-chat-box :threads="chatThreads" :users="users"></xf-chat-box>
</div>
<script>
let users=[
{id: 1, name: 'Severin Hasselhof'},
{id: 2, name: 'Johan Hamburger'},
{id: 3, name: 'Thomas Brokeback'},
{id: 4, name: 'Erik Ender'},
{id: 5, name: 'Jeremiah Unsullied'},
{id: 6, name: 'Priscila Kearney'},
{id: 7, name: 'Alonso Winsett'},
{id: 8, name: 'Diedre Wills'},
{id: 9, name: 'Collin Pecoraro'},
{id: 10, name: 'Kip Nicks'},
{id: 11, name: 'Margorie Saffer'},
{id: 12, name: 'Cary Eisenstein'},
{id: 13, name: 'Peg Espinal'},
]
new Vue({
components: {
'xf-chat-box': xfchat
},
data(){
return{
chatThreads: [
{
text: 'Hi There!',
author: 'Bob',
date: '1/1 10:00',
replyThread:[],
reply: false,
},
],
users: users,
}
}
}).$mount('#app')
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint