KstChat
chat component for rocket.chat
依赖说明
- bootstrap4的样式文件
安装说明
- 1.x 针对angular7.x
- 2.x 针对angular6.x
安装
-
npm install kst-chat || yarn add kst-chat
-
入口module 里面 导入模块
StoreModule
,如果本身你的应用使用了ngrx,请忽略 -
入口module导入模块
KstChatModule -
angular.json中 styles节点加入
"node_modules/kst-chat/src/styles.less"
-
使用
currentUser: any =appUserName: '张三'username: 'zhangsan'userId: 23chatpwd: '123456';