@jctrans-materials/comps-vue2 1.0.37-beta.19 → 1.0.37-beta.20

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/README.md +2 -0
  2. package/package.json +7 -2
package/README.md CHANGED
@@ -24,6 +24,8 @@ import "@jctrans-materials/comps-vue2/style.css";
24
24
  Vue.use(JCtransComps);
25
25
  ```
26
26
 
27
+ 如果你在 Vue 2.6 环境下使用,请额外安装并注册 `@vue/composition-api`;Vue 2.7 及以上版本不需要这一步。
28
+
27
29
  ## 组件能力速览
28
30
 
29
31
  ### 1) `JcSearch`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jctrans-materials/comps-vue2",
3
- "version": "1.0.37-beta.19",
3
+ "version": "1.0.37-beta.20",
4
4
  "private": false,
5
5
  "description": "JCtrans Search Component compatible with Vue 2.6+ and Vue 3",
6
6
  "main": "dist/index.cjs.js",
@@ -24,13 +24,18 @@
24
24
  "vue": ">=2.6.0",
25
25
  "vue-demi": ">=0.14.0"
26
26
  },
27
+ "peerDependenciesMeta": {
28
+ "@vue/composition-api": {
29
+ "optional": true
30
+ }
31
+ },
27
32
  "dependencies": {
28
33
  "@floating-ui/dom": "^1.7.4",
29
34
  "crypto-js": "^4.2.0",
30
35
  "jctrans-ui": "^2.15.15",
31
36
  "nanoid": "^5.1.6",
32
37
  "sass": "^1.94.2",
33
- "@jctrans-materials/shared": "1.0.37-beta.19"
38
+ "@jctrans-materials/shared": "1.0.37-beta.20"
34
39
  },
35
40
  "devDependencies": {
36
41
  "@types/crypto-js": "^4.2.2",