create-unibest 1.18.0 → 1.18.2
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.
- package/README.md +4 -3
- package/outfile.cjs +56 -56
- package/package.json +2 -3
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` 参数选择模板,目前已有 `
|
|
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
|
|
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
|
|
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模板
|