mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
doc: update README for available scripts
This commit is contained in:
parent
a08302c7c7
commit
76a192730e
13
README.md
13
README.md
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user