Go to file
2020-08-04 10:44:00 +08:00
.github ci: update ci conf 2020-08-04 10:44:00 +08:00
.storybook feat(core): add avatar components 2020-08-03 15:00:05 +08:00
packages test: rm useless test 2020-08-04 10:44:00 +08:00
public update 2020-07-21 18:18:44 +08:00
scripts fix(project):fix gc.sh generating wrong format templates 2020-07-29 15:23:55 +08:00
src/style feat: add Layout component (#50) 2020-07-31 18:20:03 +08:00
typings feat/migrate-utilities 2020-07-29 11:44:12 +08:00
.editorconfig feat/add-storybook 2020-07-24 19:20:37 +08:00
.eslintrc.js feat(core): add avatar components 2020-08-03 15:00:05 +08:00
.gitignore fix(project): no lerna-debug.log 2020-08-03 15:00:05 +08:00
.npmrc fix(dev): update cz & husky 2020-07-24 23:25:03 +08:00
commitlint.config.js chore/fix-linter-complains 2020-07-28 11:26:41 +08:00
index.html update 2020-07-21 18:18:44 +08:00
jest.config.js feat(core): use faster swc-jest 2020-07-31 13:59:39 +08:00
lerna.json feat: add lerna basic config 2020-07-22 00:35:23 +08:00
package.json feat(breadcrumb): add breadcrumb component 2020-08-03 15:03:55 +08:00
README.md Update README.md 2020-08-03 00:12:00 +08:00
tsconfig.json test: add button test 2020-07-27 21:46:33 +08:00
yarn.lock feat(breadcrumb): add breadcrumb component 2020-08-03 15:03:55 +08:00

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

  1. Convert the item in https://github.com/element-plus/element-plus/projects/1 to an issue
  2. Assign yourself to the issue
  3. Author your component by generating new component command below
  4. Migrate tests and docs
  5. 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