項目名稱:JwChatcss
項目做者:四銖半兩vue
開源許可協議:MITgit
一款基於Vue和ElementUI極簡的聊天框組件 本項目是一款極簡的數據驅動爲主的聊天框組件。 新增表情包可自動匹配微信表情。 新增聊天窗口配置組件,能夠自由配置 頂部狀態欄 和 右側信息欄npm
使用 npm
安裝element-ui
npm install jwchat
使用 yarn
安裝安全
yarn add jwchat
由於本組件是基於 element-ui
開發。首先須要引入 element-ui
。bash
npm install element-ui
在 main.js
中引入組件微信
import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; Vue.use(ElementUI); import Chat from 'jwchat'; /* 在 0.2.041 以前的版本須要引入 css */ // import 'jwchat/lib/JwChat.css'; Vue.use(Chat)
在 *.vue
中引入ui
<JwChat-index :taleList="list" @enter="bindEnter" v-model="inputMsg" :toolConfig="tool" />
+新增
多窗口聊天+新增
會話列表系統問詢/修復
BUG前往 Gitee 搜索 JwChat 或點擊後面的連接便可訪問項目主頁:https://gitee.com/CodeGI/chatspa