update readme

This commit is contained in:
dntzhang 2018-05-14 13:09:37 +08:00
parent 07127c7619
commit 18658fe976
2 changed files with 18 additions and 0 deletions

View File

@ -246,6 +246,15 @@ $ npm start # develop
$ npm run build                  # release
```
服务端同构直出:
```bash
$ omi init-ssr your_project_name # init ssr project, you can also exec 'omi init-ssr' in an empty folder
$ cd your_project_name # please ignore this command if you executed 'omi init' in an empty folder
$ npm run dev # develop
$ npm run build # release
$ npm start # release
```
## Install

View File

@ -243,6 +243,15 @@ $ npm start # develop
$ npm run build # release
```
Server Side Render:
```bash
$ omi init-ssr your_project_name # init ssr project, you can also exec 'omi init-ssr' in an empty folder
$ cd your_project_name # please ignore this command if you executed 'omi init' in an empty folder
$ npm run dev # develop
$ npm run build # release
$ npm start # release
```
## Install