Go to file
renovate[bot] 983e040e98
chore(deps): update pnpm to v6.24.4 (#5039)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-30 04:58:35 +08:00
.github chore(deps): update jamesives/github-pages-deploy-action action to v4.1.8 (#4888) 2021-12-24 21:28:21 +08:00
.husky
.vscode
build refactor: upgrade vue & remove @vue/compiler-sfc (#4815) 2021-12-28 17:15:54 +08:00
docs fix(theme-chalk): upload progress & menu padding style & pagination align (#5011) 2021-12-29 16:21:29 +08:00
packages fix(theme-chalk): upload progress & menu padding style & pagination align (#5011) 2021-12-29 16:21:29 +08:00
play chore(deps): update dependency vite to v2.7.9 (#5016) 2021-12-30 00:58:37 +08:00
scripts fix(build): copy README (#4782) 2021-12-10 23:48:21 +08:00
typings
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
.gitignore
.markdownlint.json
.npmrc refactor(style): adjust component size to large/default/small (#4491) 2021-12-12 17:54:21 +08:00
.nvmrc
.prettierignore
.prettierrc
CHANGELOG.en-US.md chore: Update changelog 1.2.0-beta.6 (#4775) 2021-12-10 18:52:21 +08:00
CODE_OF_CONDUCT.md
commitlint.config.js
DEV_FAQ.md fix(style): remove chinese comments in checkbox (#4189) 2021-11-04 10:04:38 +08:00
jest.config.js
jest.setup.js refactor(components): refactor tabs 2021-11-12 05:43:40 +08:00
LICENSE
package.json chore(deps): update pnpm to v6.24.4 (#5039) 2021-12-30 04:58:35 +08:00
pnpm-lock.yaml chore(deps): update dependency esbuild to v0.14.9 (#5019) 2021-12-30 04:58:07 +08:00
pnpm-workspace.yaml
README.md docs: change playground domain (#4989) 2021-12-27 17:30:12 +08:00
renovate.json5 fix(build): fix types (#4254) 2021-11-05 22:47:03 -04:00
tsconfig.json fix(build): compatible to build on windows (#4747) 2021-12-10 18:18:16 +08:00


Element Plus - A Vue.js 3 UI library

  • 💪 Vue 3 Composition API
  • 🔥 Written in TypeScript

Archived website

If you are looking for previous version website, here is the link.

Element Plus Documentation Archived

The new website is launched at 17th Sep 2021.

Status: Beta

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

Playground

Try it with code sandbox

Edit element-plus

Try it with our built-in playground

Playground

Special thanks to the generous sponsorship by:



Translations

Element Plus is translated to multiple languages, you can click the badge to help up update the translation or apply to become a proofreader Crowdin

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

$ pnpm i

the project will install all dependencies

Website preview

With command

$ pnpm docs:dev

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

Local development

  1. With command
$ pnpm dev

will start the local development environment

  1. Add your component into play/src/App.vue

App.vue

<template>
  <ComponentYouAreDeveloping />
</template>

<script setup lang="ts">
// make sure this component is registered in @element-plus/components
import { ComponentYouAreDeveloping } from '@element-plus/components'
</script>

Modify App.vue file per your needs to get things work.

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

$ pnpm gen component-name

Note the component-name must be in kebab-case, combining words by replacing each space with a dash.

And component type must be added to typings/global.d.ts.

Commit template

With command

pnpm cz

Example

# [TYPE](SCOPE): [el-component-name] DESCRIPTION#[ISSUE]
# example: feat(components): [el-button] add type for form usage #1234

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor

Contributors

This project exists thanks to all the people who contribute.

And thank you to all our backers! 🙏

Licence

Element Plus is open source software licensed as MIT.