Element Plus - A Vue.js 3 UI library
- πͺ Vue 3 Composition API
- π₯ Written in TypeScript
This project is still under heavy development. Feel free to join us and make your first pull request.
Special thanks to the generous sponsorship by:
Element Plus is translated to multiple languages, you can click the badge to help up update the translation or apply to become a proofreader
You can find for more details, API, and other docs on https://element-plus.org
ε½ε ε ιιεη«ηΉ
Join our Discord to start communicating with everybody.
You can find the breaking change list here: Breaking Change List.
With command
$ pnpm i
the project will install all dependencies
With command
$ pnpm docs:dev
the project will launch website for you to preview all existing component
- 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.
- 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
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
.
With command
pnpm cz
Example
# [TYPE](SCOPE): [el-component-name] DESCRIPTION#[ISSUE]
# example: feat(components): [el-button] add type for form usage #1234
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor
This project exists thanks to all the people who contribute.
And thank you to all our backers! π
Element Plus is open source software licensed as MIT.