update readme

This commit is contained in:
dntzhang 2018-11-13 19:56:41 +08:00
parent 520bbc5993
commit 6c17ec2ed1
2 changed files with 11 additions and 0 deletions

View File

@ -332,6 +332,12 @@ $ omi init-ts your_project_name
$ omi init-spa your_project_name
```
小程序开发 Web 模板(omi-cli v3.0.13+):
```bash
$ omi init-mp your_project_name
```
Cli 自动创建的项目脚手架是基于单页的 create-react-app 改造成多页的,有配置方面的问题可以查看 [create-react-app 用户指南](https://facebook.github.io/create-react-app/docs/getting-started)。
### Hello Element

View File

@ -331,6 +331,11 @@ $ omi init-ts your_project_name
$ omi init-spa your_project_name
```
omi-mp Template(omi-cli v3.0.13+):
```bash
$ omi init-mp your_project_name
```
CLI's auto-created project scaffolding is based on a single-page create-react-app to be converted into a multi-page one, with configuration issues to see [create-react-app user guide](https://facebook.github.io/create-react-app/docs/getting-started)