3eb734ccc4
* fix(components): [skeleton] `throttle` property not working * fix: lint fix * feat: add func & doc & test * feat: remove test modify * feat: increase document examples, improve document descriptions * fix(components): [skeleton] `throttle` property not working * fix: lint fix * feat: add func & doc & test * feat: remove test modify * feat: increase document examples, improve document descriptions * feat: 重构`useThrottleRender`钩子以提高代码可读性和效率 - 简化了对`throttle`参数的判断逻辑,通过`isNumber`函数判断是否为数字 - 将`leadingDispatch`和`trailingDispatch`函数合并为`dispatcher`函数,根据传入的类型判断执行逻辑 - 优化了`watch`回调函数,使用`dispatcher`函数替代重复的判断逻辑 * feat: 写法优化 * feat: 引入`isObject`函数替代原有的`typeof throttle === 'object'`判断方式 * feat: 优化骨架屏文档结构和示例 * feat: 完善文字描述和修改对应的文件名 * Update docs/en-US/component/skeleton.md Co-authored-by: btea <2356281422@qq.com> * Update docs/en-US/component/skeleton.md Co-authored-by: btea <2356281422@qq.com> * feat: Optimize code writing * Update docs/en-US/component/skeleton.md Co-authored-by: btea <2356281422@qq.com> * Update docs/en-US/component/skeleton.md * feat: modify doc * feat: md * feat: 补充 useThrottleRender 钩子的测试用例 * feat: 将 SkeletonThrottle 类型移动到hook中, 重命名为 ThrottleType 以提高通用性 --------- Co-authored-by: btea <2356281422@qq.com> |
||
---|---|---|
.circleci | ||
.github | ||
.husky | ||
.vscode | ||
breakings | ||
docs | ||
internal | ||
packages | ||
patches | ||
play | ||
scripts | ||
ssr-testing | ||
typings | ||
.editorconfig | ||
.env | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.gitpod.yml | ||
.markdownlint.json | ||
.npmrc | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
CHANGELOG.en-US.md | ||
CODE_OF_CONDUCT.md | ||
codecov.yml | ||
commitlint.config.js | ||
commitlint.config.ts | ||
CONTRIBUTING.md | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
README.md | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
tsconfig.play.json | ||
tsconfig.vite-config.json | ||
tsconfig.vitest.json | ||
tsconfig.web.json | ||
vitest.config.mts | ||
vitest.setup.ts | ||
vitest.workspace.ts |
Element Plus - A Vue.js 3 UI library
- 💪 Vue 3 Composition API
- 🔥 Written in TypeScript
Getting Started
Alright, for you to get started if you are looking for making Element Plus better you should keep reading. For developers that uses Element Plus to develop your website you should go ahead visit Getting Started.
- 中国大陆加速镜像站点
Breaking change list
The first stable release of Element Plus suitable for use in production was released on February 07, 2022. The APIs is stable right now, and here's also a full list about how to get upgraded from Element UI to Element Plus.
You can find the breaking change list here: Breaking Change List.
Migration Tool 🛠️
We have made a migration tool for you to migrate your project from Element UI to Element Plus.
You can find the gogo code migration tool here.
We have tested this on Vue Element Admin. You can find the transpiled code here.
Playground
You can also try Element Plus out with the components built-in playground.
Try it with our built-in playground
Try it with code sandbox
Special thanks to the generous sponsorship by:
Platinum Sponsors
Gold Sponsors
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
For now we are only showing English and Chinese for resource reasons, but we are looking forward to translate it into more languages, please go to the link above and leave a message if you want to help translating Element Plus into your desired language.
How to help translating
See how to help translating in Translating Element Plus.
Stay tuned 👀
Join our Discord to start communicating with everybody.
This thing is broken, I should help improve it!
Awesommmmmmee. Everything you need is down below. You can also refer to CONTRIBUTING and Code of Conduct where you'll find the same information listed below.
I would like to become a part of the development team!
Welcome 🤩! We are looking for talented developers to join us and making Element Plus better! If you care to join the development team, please reach out to us, you are more than welcomed to join us! ❤️
We are now lacking of experts of Testing
, GitHub Actions
, PM
, if you do feel like you can and willing to help us, please do reach out to us. 🙏
Contributors
This project exists thanks to all the people who contribute.
And thank you to all our backers! 🙏
License
Element Plus is open source software licensed as MIT.