# vue-chatbox

## How to Use

#### First Install the library in your project By:

```
npm install --save @carrene/vue-chatbox
```
#### Then Import Components in your `.vue` files:
```js
import Components from '@carrene/vue-chatbox'

Object.entries(Components).forEach((name, component) => {
  Vue.component(name, component)
})
```
#### and then register Components in your file:
```js
components: {
  ...Components
}
```

## Project Dev setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Compiles and building `<chat>` component
```
npm run build-bundle
```

### Lints and fixes files
```
npm run lint
```

### Run your unit tests
```
npm run test:unit
```