0.2.8 • Published 1 year ago
@imean/example-chat v0.2.8
example-chat
一个开源的imean对话ui示例项目
Getting Started
Setup
Clone the repository
git clone https://git.starblazer.cn/dhc/example-chat.git
Install dependencies
yarn install
Start the development server
yarn build && yarn preview
Open http://localhost:4173/exampleChat/index.js with your browser to see the result.
Project Integration Guide(NPM Package)
Installation
yarn add @imean/example-chat
Usage
import iMeanExampleChat from '@imean/example-chat' try { iMeanExampleChat.init({ // imean服务地址 baseUrl: "xxx", // imean项目ID projectId: "xxx", }); } catch (error) {}
Project Integration Guide(CDN)
Usage
<!DOCTYPE html> <html lang="zh-CN"> <head> <!-- 请勿设置异步加载,不然有可能导致js文件还未下载完成时调用init方法 --> <script src="https://xxx/exampleChat/index.js"></script> </head> <script> try { window.iMeanExampleChat.init({ // imean服务地址 baseUrl: "xxx", // imean项目ID projectId: "xxx", }); } catch (error) {} </script> <body></body> </html>
0.2.8
1 year ago
0.2.7
1 year ago
0.2.6
1 year ago
0.2.5
1 year ago
0.2.4
2 years ago
0.2.1
2 years ago
0.2.2
2 years ago
0.2.0
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.20
2 years ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago