im-ui-mobile 0.0.35 → 0.0.36

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.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { UViewPlusPlugin } from './plugins/uview-plus'
1
2
  import ImChat from './components/im-chat/im-chat.vue'
2
3
 
3
4
  // 重要:为组件添加名称,以支持开发环境
@@ -8,6 +9,9 @@ const components = [
8
9
  ]
9
10
 
10
11
  const install = (app) => {
12
+ // 安装 uview-plus
13
+ app.use(UViewPlusPlugin)
14
+
11
15
  components.forEach(component => {
12
16
  app.component(component.name || '', component)
13
17
  })
@@ -26,7 +30,6 @@ import * as url from "./utils/url.js";
26
30
  import { useDynamicRefs } from "./utils/useDynamicRefs.js";
27
31
  import { webSocketManager, WebSocketManager } from "./utils/websocket.js";
28
32
 
29
-
30
33
  export {
31
34
  eventBus,
32
35
  datetime,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "im-ui-mobile",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "A Vue3.0 + typescript instant messaging component library for Uniapp",
5
5
  "type": "module",
6
6
  "main": "index.js",