doc: update README for available scripts

This commit is contained in:
Herrington Darkholme 2020-07-24 20:29:10 +08:00 committed by jeremywu
parent a08302c7c7
commit 76a192730e

View File

@ -3,13 +3,22 @@ Element-Plus
## Bootstrap project
With command
```bash
$ yarn bs
$ yarn bootstrap
```
the project will install all dependencies and run `lerna bootstrap` to initialize the project
## Storybook preview
With command
```bash
$ yarn sb
$ yarn storybook
```
the project will launch `@storybook` client for you to preview all existing component
## Generate new component
With command
```bash
$ yarn gen component-name
```
Note the `component-name` must be in `kebab-case`, combining words by replacing each space with a dash.