mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 04:08:34 +08:00
Migrated repository
.github | ||
.storybook | ||
packages | ||
public | ||
scripts | ||
src/style | ||
typings | ||
.editorconfig | ||
.eslintrc.js | ||
.gitignore | ||
.npmrc | ||
commitlint.config.js | ||
index.html | ||
jest.config.js | ||
lerna.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Element-Plus
Bootstrap project
With command
$ yarn bootstrap
the project will install all dependencies and run lerna bootstrap
to initialize the project
Storybook preview
With command
$ yarn storybook
the project will launch @storybook
client for you to preview all existing component
Component migration process
- Convert the item in https://github.com/element-plus/element-plus/projects/1 to an issue
- Assign yourself to the issue
- Author your component by generating new component command below
- Migrate tests and docs
- Open a new pull request, fill in the component issue link in 1
Generate new component
With command
$ yarn gen component-name
Note the component-name
must be in kebab-case
, combining words by replacing each space with a dash.
Commit template
With command
yarn cz
Example
[TYPE](SCOPE):DESCRIPTION#[ISSUE]
# example feat(button):add type 'button' for form usage #1234