Go to file
Delyan Haralanov c17161e21c
Feat/remove mitt (#3356)
* feat(components): collapse use provide/inject instead of mitt events

# Conflicts:
#	packages/components/collapse/src/collapse-item.vue
#	packages/components/collapse/src/collapse.vue

* feat(components): menu use provide/inject instead of mitt events

# Conflicts:
#	packages/components/menu/src/menu.ts

* feat(components): form use provide/inject instead of mitt events

# Conflicts:
#	packages/components/checkbox/src/checkbox-group.vue
#	packages/components/checkbox/src/useCheckbox.ts
#	packages/components/form/src/form-item.vue
#	packages/components/form/src/form.vue
#	packages/components/input/src/index.vue
#	packages/components/radio/src/radio-group.vue
#	packages/components/select/src/useSelect.ts
#	packages/components/slider/src/index.vue
#	packages/components/time-picker/src/common/picker.vue
#	packages/components/transfer/src/index.vue
#	packages/tokens/form.ts

* feat(components): tree use provide/inject instead of mitt events

# Conflicts:
#	packages/components/tree/src/model/useDragNode.ts
#	packages/components/tree/src/tree-node.vue

* feat(components): select use provide/inject instead of mitt events

# Conflicts:
#	packages/components/select/src/option-group.vue
#	packages/components/select/src/select.vue
#	packages/components/select/src/useOption.ts
#	packages/components/select/src/useSelect.ts

* feat: remove mitt from packages dependencies

# Conflicts:
#	packages/components/package.json
#	packages/element-plus/package.json
#	packages/tokens/package.json

* feat: remove mitt from webpack.config.js

* refactor: change imports order

* refactor: import types separately

* fix: revert removing mitt from webpack.config.js

This config is not related to the build so no need to remove mitt here
2021-09-16 21:19:27 +08:00
.github fix release scirpt (#3410) 2021-09-15 01:45:45 +08:00
.husky refactor: upgrade to husky@7 & lint-staged@11 & commitlint@13 (#3239) 2021-09-05 01:33:56 +08:00
build build: external packages (#3415) 2021-09-15 08:28:23 +08:00
packages Feat/remove mitt (#3356) 2021-09-16 21:19:27 +08:00
scripts build: external packages (#3415) 2021-09-15 08:28:23 +08:00
typings style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
website fix(core): downgrade vueuse version (#3405) 2021-09-14 23:22:59 +08:00
.editorconfig
.eslintignore test: fix test (#3109) 2021-08-27 19:13:37 +08:00
.eslintrc.js refactor(components): refactor button (#3341) 2021-09-12 19:38:48 +08:00
.gitattributes chore(project): improve prettier format (#3236) 2021-09-05 00:53:31 +08:00
.gitignore chore: ignore all play files (#3226) 2021-09-04 09:52:50 +08:00
.markdownlint.json refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
.npmrc refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
.prettierignore chore(project): add coverage into prettier ignore (#3240) 2021-09-05 14:46:46 +08:00
.prettierrc chore(project): improve prettier format (#3236) 2021-09-05 00:53:31 +08:00
babel.config.js chore(project): upgrade dependencies to latest minor (#3242) 2021-09-05 19:57:35 +08:00
CHANGELOG.en-US.md Update CHANGELOG.en-US.md 2021-09-15 01:15:13 +08:00
CODE_OF_CONDUCT.md style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
commitlint.config.js style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
jest.config.js chore(project): upgrade dependencies to latest minor (#3242) 2021-09-05 19:57:35 +08:00
lerna.json style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
LICENSE Create LICENSE 2020-08-18 13:53:45 +08:00
package.json build: external packages (#3415) 2021-09-15 08:28:23 +08:00
README.md style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
tsconfig.dts.json style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
tsconfig.json refactor(components): refactor button (#3341) 2021-09-12 19:38:48 +08:00
yarn.lock fix(build): fix exclude dependency (#3404) 2021-09-15 01:13:36 +08:00


Element Plus - A Vue.js 3.0 UI library

  • 💪 Vue 3.0 Composition API
  • 🔥 Written in TypeScript

Status: Beta

This project is still under heavy development. Feel free to join us and make your first pull request.

Edit element-plus


Special thanks to the generous sponsorship by:



Documentation

You can find for more details, API, and other docs on https://element-plus.org

国内加速镜像站点

Join our Discord to start communicating with everybody.

Breaking change list

You can find the breaking change list here: Breaking Change List.

Bootstrap project

With command

$ yarn bootstrap

the project will install all dependencies and run lerna bootstrap to initialize the project

Website preview

With command

$ yarn website-dev

the project will launch website for you to preview all existing component

You can also use this command to start a blank page to debug

$ yarn website-dev:play
//source file: ./website/play/index.vue

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(components): add type 'button' for form usage #1234

Licence

ElementPlus is open source software licensed as MIT.

Contributors

This project wouldn't exist without our amazing contributors