clairemont-chat-kit
Clairemont Chat Kit
Streamlined chat library seamlessly integrated with Clairemont's system.
Installation
Install the package using your preferred package manager:
Using Yarn:
yarn add clairemont-chat-kit
Using npm:
npm install clairemont-chat-kit
Or Via CDN Links
<script src="https://unpkg.com/clairemont-chat-kit@0.0.24/dist/clairemont-chat-kit.umd.js"></script>
<link rel="stylesheet" href="https://unpkg.com/clairemont-chat-kit@0.0.24/dist/style.css">
How To Use
Setup in your main.js
import { createApp } from 'vue'
import App from './App.vue'
import ClairemontChatKit from 'clairemont-chat-kit'
import 'clairemont-chat-kit/dist/style.css'
createApp(App)
.use(ClairemontChatKit)
.mount('#app')
Implement the Chat Kit in your desired component
<template>
<ClairemontChatKit/>
</template>
Demo
As of now demos might not be updated because currently integrating serverless.
Props
| Prop Name | Type | Description | Default Value |
|---|---|---|---|
headerTitle |
String | Sets the header title for the Chat Kit component. | 'All Messages' |
height |
String | Specifies the height of the Chat Kit component. | '800px' |
currentUser |
Object | Identifies the current user utilizing the Chat. | - |
currentUser Object Properties
| Property Name | Type | Description |
|---|---|---|
appId |
String | Unique identifier for the app. |
id |
String | Unique identifier for the user. |
name |
String | Name of the current user. |
phone |
String | phone of the current user. |
Usage Example
Here's an example of how to use the ClairemontChatKit component in your Vue.js application:
<template>
<ClairemontChatKit
:headerTitle="'Test'"
:height="'100%'"
:currentUser="{
appId: '123',
id: '1',
name: 'Aughus Bueno',
phone: '09XXXXXXXXX'
}"
/>
</template>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.5 | ^3.3.4 | ||
| 1.0.3 | ^3.3.4 | ||
| 1.0.2 | ^3.3.4 | ||
| 1.0.1 | ^3.3.4 | ||
| 1.0.0 | ^3.3.4 | ||
| 0.1.6 | ^3.3.4 | ||
| 0.1.5 | ^3.3.4 | ||
| 0.1.4 | ^3.3.4 | ||
| 0.1.0 | ^3.3.4 | ||
| 0.0.31 | ^3.3.4 | ||
| 0.0.30 | ^3.3.4 | ||
| 0.0.29 | ^3.3.4 | ||
| 0.0.28 | ^3.3.4 | ||
| 0.0.27 | ^3.3.4 | ||
| 0.0.26 | ^3.3.4 | ||
| 0.0.25 | ^3.3.4 | ||
| 0.0.24 | ^3.3.4 | ||
| 0.0.23 | ^3.3.4 | ||
| 0.0.22 | ^3.3.4 | ||
| 0.0.21 | ^3.3.4 | ||
| 0.0.20 | ^3.3.4 | ||
| 0.0.18 | ^3.3.4 | ||
| 0.0.17 | ^3.3.4 | ||
| 0.0.16 | ^3.3.4 | ||
| 0.0.15 | ^3.3.4 | ||
| 0.0.14 | ^3.3.4 | ||
| 0.0.13 | ^3.3.4 | ||
| 0.0.12 | ^3.3.4 | ||
| 0.0.11 | ^3.3.4 | ||
| 0.0.10 | ^3.3.4 |
Showing the latest 30 of 40. See every release on npm