4560adfdf8
* refactor(style): adjust component size to large/default/small * refactor(components): avatar size & use flex instead of block * refactor(components): adjust check button size * refactor(components): adjust tag size * refactor(components): adjust size doc * fix(components): datetime-picker demo style width * refactor(components): color-picker size & block to flex * refactor(components): adjust slider input size * refactor(components): adjust radio input size for demo * refactor(components): adjust select size & docs * refactor(components): adjust form radio size & docs * refactor(components): add windicss for docs * refactor(components): adjust skeleton avatar size to css var * refactor(components): simplify typography size demo * refactor(components): adjust dropdown size & demo * refactor(components): adjust descriptions size * fix(components): datetime-picker showcase class pollute global button * chore(ci): upgrade docs dependencies to fix ci * fix(ci): add highlight because vitepress not export it * fix(ci): disable line for no-console * fix(ci): remove mini to fix test * fix(style): code font size * fix(style): button span flex style * fix(style): button padding horizontal default 15px * refactor(components): adjust tag padding size & demo * refactor(components): adjust form line-height for input * refactor(components): adjust dropdown menu size & button padding * fix(style): picker separator block to flex center * fix: dropdown button span items-center * style: adjust input-with-icon & size demo & fix input vitepress load * chore: upgrade dependencies * chore: upgrade dependencies * ci: fix website build * ci: regenerate pnpm-lock.yaml * ci: use dev pnpm-lock * ci: update pnpm-lock.yaml |
||
---|---|---|
.github | ||
.husky | ||
.vscode | ||
build | ||
docs | ||
packages | ||
play | ||
scripts | ||
typings | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.markdownlint.json | ||
.npmrc | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
CHANGELOG.en-US.md | ||
CODE_OF_CONDUCT.md | ||
commitlint.config.js | ||
DEV_FAQ.md | ||
jest.config.js | ||
jest.setup.js | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
README.md | ||
renovate.json5 | ||
tsconfig.json |
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
Try it with our built-in 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
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
- With command
$ pnpm dev
will start the local development environment
- 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
- Convert the item in https://github.com/element-plus/element-plus/projects/1 to an issue
- Assign yourself to the issue
- Author your component by generating new component command below
- Migrate tests and docs
- 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.