同步操作将从 element-plus/element-plus 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Before opening issue please search for the keyword see whether the issue you encountered has been reported already.
Issues should be opened via Issue Template, fill in the form to provide sufficient information to reproduce the issue, so that our developers can help you verify and fix it
Insufficient information issue WILL BE CLOSED directly because we cannot reproduce them
Next section is for those who wants to help develop Element Plus.
You should be having:
NodeJS >= 16
Git > v2.20
Some of our compiling code used syntax that introduced in NodeJS>16.0 so you will be need to install that in advance.
cd $THE_PROJECT_PATH_YOU_DOWNLOADED
# If you haven't installed yet
pnpm install
Then you can following command to verify your installation.
pnpm t
pnpm format
Ah, now you have installed the code correctly, you can choose:
# If you would like to modify the website source code of https://element-plus.org
# It was made with [VitePress](https://vitepress.vuejs.org)
pnpm run docs:gen-locale # This generates locale files for your local development
pnpm run docs:dev
# If you would like to run a local playground to test out your changes against
# Some specific component
touch play/src/App.vue # Adding an entry for the play to run.
pnpm run dev
You can follow the LOCAL DEVELOPMENT GUIDE to do development more quickly.
If you would like to compile this project locally:
# This one line code would start compiling the code which was published to https://npmjs.com
pnpm build
If you would like to compile the website code locally:
pnpm docs:build
After you done your coding section, please note:
We prepared a commit message template for you to refer to, you can also follow the instruction of the CLI tool to generate commit message intuitively.
pnpm cz
We have a commit template
NOTE: PRs with unformatted commit message WILL NOT BE ACCEPTED
That's all, thanks for your contribution! 🤩
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。