感谢你使用 element-pro-components,如果你愿意贡献代码或提供建议,请阅读以下内容。
pnpm check && pnpm test
)。消息必须由以下正则表达式匹配
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
例如:
docs: update Form.md
fix(Form): the style link error
在进行本地开发前,你需要安装 Node.js 16+, 同时我们推荐你使用 PNPM。
# 安装依赖
pnpm i
# 进入开发模式
pnpm dev
然后,在 localhost:5173 上预览。
# 添加主仓库到 remote,作为 fork 后仓库的上游仓库
git remote add upstream git@github.com:tolking/element-pro-components.git
# 拉取主仓库最新代码
git fetch upstream
# 切换至 main 分支
git checkout main
# 合并主仓库代码
git merge upstream/main
感谢所有已经为 element-pro-components 做出贡献的人!