update readme

This commit is contained in:
dntzhang 2018-12-14 16:53:24 +08:00
parent 1c842f9b57
commit 5bc4fd9e3e
2 changed files with 5 additions and 1 deletions

View File

@ -354,6 +354,8 @@ $ npm run build # release
| **Template Type**| **Command**| **Describe**|
| ------------ | -----------| ----------------- |
|Base Template|`omi init my-app`| 基础模板|
|Omio Template|`omi init-o my-app`| 使用 omio兼容 IE9 和移动 Web 的模板|
|Mobile Template|`omi init-weui my-app`| 使用了 weui 和 omi-router 的移动 web app 模板|
|TypeScript Template(omi-cli v3.0.5+)|`omi init-ts my-app`|使用 TypeScript 的模板|
|[SPA Template](https://tencent.github.io/omi/packages/omi-router/examples/spa/build/)(omi-cli v3.0.10+)|`omi init-spa my-app`|使用 omi-router 单页应用的模板|
|omi-mp Template(omi-cli v3.0.13+)|`omi init-mp my-app` |小程序开发 Web 的模板|

View File

@ -336,7 +336,9 @@ If you only want to use relative addresses:
| **Template Type**| **Command**| **Describe**|
| ------------ | -----------| ----------------- |
|Base Template|`omi init my-app`| Basic template for omi project.|
|Base Template|`omi init my-app`| Basic omi project template.|
|Omio Template|`omi init-o my-app`| Basic omi project template for old browsers(IE9+ and mobile browsers).|
|Mobile Template|`omi init-weui my-app`| Mobile web app template with weui and omi-router.|
|TypeScript Template(omi-cli v3.0.5+)|`omi init-ts my-app`|Basic template with typescript.|
|[SPA Template](https://tencent.github.io/omi/packages/omi-router/examples/spa/build/)(omi-cli v3.0.10+)|`omi init-spa my-app`|Single page application template with omi-router.|
|omi-mp Template(omi-cli v3.0.13+)|`omi init-mp my-app` |Developing web with mini program template.|