0.0.10 • Published 6 years ago

vue-chat-client v0.0.10

Weekly downloads
16
License
MIT
Repository
-
Last release
6 years ago

vue-chat-client

This is a chat client for Vue.js

Installation

NPM + ES2015

npm install vue-chat-client --save
import Vue from 'vue'
import ChatClient from 'vue-chat-client'
Vue.component('chat-client', ChatClient)

Usage

export default {
  data() {
    return: {
      feeds: [
        {
          type: 'message',
          uid: 'UID',
          text: 'Example message'
        }
      ]
    }
  }
}
<!-- bind to it normally in templates -->
<chat-client :feeds="feeds"/>

Development Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

License

MIT

Copyright (c) 2018-present, Trinketmage

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago