brutx-ui-vue 0.5.3 → 0.5.4

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 +14 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,6 +34,20 @@ npx brutx@latest add button card badge
34
34
  npx brutx@latest add --all
35
35
  ```
36
36
 
37
+ ## 升级
38
+
39
+ 当 BrutxUI 发布新版本时,重新运行 init 命令即可升级:
40
+
41
+ ```bash
42
+ npx brutx@latest init
43
+ ```
44
+
45
+ 你也可以单独更新已有组件:
46
+
47
+ ```bash
48
+ npx brutx@latest add button --overwrite
49
+ ```
50
+
37
51
  ## 用法
38
52
 
39
53
  添加组件后,从你的项目中导入它们:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brutx-ui-vue",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "A Neo-Brutalism styled Vue 3 UI component library",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",