@kengic/vue 0.25.5-beta.1 → 0.26.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ # 0.26.0
2
+
3
+ ### 1. useLocale, useLocaleStore, getAppEnvConfig 提取到组件库
4
+
5
+ ```typescript
6
+ // 旧
7
+ // --------------------------------------------------
8
+ import { useLocale } from '/@/locales/useLocale';
9
+
10
+ // 新
11
+ // --------------------------------------------------
12
+ import { useLocale } from '@kengic/vue';
13
+ ```
14
+
15
+ ```typescript
16
+ // 旧
17
+ // --------------------------------------------------
18
+ import { useLocaleStore } from '/@/store/modules/locale';
19
+
20
+ // 新
21
+ // --------------------------------------------------
22
+ import { useLocaleStore } from '@kengic/vue';
23
+ ```
24
+
25
+ ```typescript
26
+ // 旧
27
+ // --------------------------------------------------
28
+ import { getAppEnvConfig } from '/@/utils/env';
29
+
30
+ // 新
31
+ // --------------------------------------------------
32
+ import { getAppEnvConfig } from '@kengic/vue';
33
+ ```
34
+
1
35
  # 0.25.0
2
36
 
3
37
  ### 1. KgVarProps.KgBackgroundGray 重命名为 KgVarProps.kgBackgroundGray