@glodon-aiot/bot-client-ui 3.19.0-alpha.30 → 3.19.0-beta.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,6 +8,10 @@
8
8
 
9
9
  `yarn add @glodon-aiot/bot-client-ui`
10
10
 
11
+ 安装后即可使用,**无需**再单独安装 `react`、`react-dom`、`antd` 等依赖(已内置于构建产物中)。
12
+
13
+ 无论宿主是 React、Vue 还是原生 JS,**接入方式完全一致**:导入类并 `new` 实例化,组件会渲染到 `getContainer()` 返回的 DOM 节点中,与宿主框架无关。底层依赖(含 React)已打包进产物,宿主已有的 React 不会受影响(二者相互隔离)。
14
+
11
15
  ## 从 cdn 引入 cjs 文件
12
16
 
13
17
  一些项目无法处理 esm,请使用以下方式引入依赖。BotClientUI 将被注册在 window 对象上。