create-unibest 1.17.1 → 1.18.1

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.
@@ -4,7 +4,7 @@
4
4
  - pnpm dev
5
5
 
6
6
  ## link 调试
7
- - npm link
7
+ - sudo npm link
8
8
  - create-unibest xx -t base
9
9
  - create-unibest xx2
10
10
 
package/README.md CHANGED
@@ -21,15 +21,16 @@ pnpm create unibest <项目名称> # 默认用 base 模板
21
21
  pnpm create unibest <项目名称> -t <模板名>
22
22
  ```
23
23
 
24
- `create unibest` 支持 `-t` 参数选择模板,目前已有 `6` 个模板,分别是 `base`、`demo`、`i18n`、`ucharts`、`hbx-base`、`hbx-demo`。
24
+ `create unibest` 支持 `-t` 参数选择模板,目前已有 `7` 个模板,分别是 `base`、`tabbar`、`spa`、`demo`、`i18n`、`hbx-base`、`hbx-demo`。
25
25
 
26
26
  ```sh
27
27
  # VS Code 模板
28
28
  pnpm create unibest my-project # 默认用 base 模板
29
29
  pnpm create unibest my-project -t base # 基础模板
30
- pnpm create unibest my-project -t demo # 所有demo的模板(包括i18n)
30
+ pnpm create unibest my-project -t tabbar # 自定义的 tabbar
31
+ pnpm create unibest my-project -t spa # 完全spa方式,用组件模拟的tabbar
31
32
  pnpm create unibest my-project -t i18n # 多语言模板
32
- pnpm create unibest my-project -t ucharts # 秋云图表模板
33
+ pnpm create unibest my-project -t demo # 所有demo的模板(包括i18n)
33
34
 
34
35
  # HBuilderX 模板,方便使用 uniCloud 云开发
35
36
  pnpm create unibest my-project -t hbx-base # hbx的base模板