Go to file
2020-08-13 11:03:08 +08:00
.github ci: add lint to ci 2020-08-06 01:10:03 +08:00
.storybook feat(core): add avatar components 2020-08-03 15:00:05 +08:00
packages fix: update merge 2020-08-13 11:03:08 +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(notification): add new component notification 2020-08-06 21:15:20 +08:00
.editorconfig feat/add-storybook 2020-07-24 19:20:37 +08:00
.eslintrc.js [WIP] Fix/eslint (#74) 2020-08-04 16:08:14 +08:00
.gitignore feat(notification): add new component notification 2020-08-06 21:15:20 +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(notification): add new component notification 2020-08-06 21:15:20 +08:00
lerna.json feat: add lerna basic config 2020-07-22 00:35:23 +08:00
package.json feat(collapse): add collapse 2020-08-13 10:56:07 +08:00
README.md Update README.md 2020-08-03 00:12:00 +08:00
tsconfig.json Update tsconfig.json 2020-08-10 12:58:04 +08:00
yarn.lock feat(collapse): add collapse 2020-08-13 10:56:07 +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