Go to file
三咲智子 55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
.github style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
build style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
packages style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
scripts chore(build): remove unused package.json scripts (#3150) 2021-08-31 17:57:35 +08:00
typings style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
website style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
.editorconfig
.eslintignore test: fix test (#3109) 2021-08-27 19:13:37 +08:00
.eslintrc.js style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
.gitattributes
.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 style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
.prettierrc style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
babel.config.js style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
CHANGELOG.en-US.md style: use prettier (#3228) 2021-09-04 19:29:28 +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 style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
lerna.json style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
LICENSE
package.json style: use prettier (#3228) 2021-09-04 19:29:28 +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: enhance type definition (#3062) 2021-08-31 09:40:13 +08:00
yarn.lock style: use prettier (#3228) 2021-09-04 19:29:28 +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