代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/NaiveUI 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
main
branch.feat
branch.# open the dev server, please note that hot module reload doesn't work well
# if you find anything doesn't work, just refresh the page
npm run dev
# testing
npm run test
# testing some component
npm run test -- src/xxx
# testing with coverage
npm run test:cov
# lint code
npm run lint:code
# check type
npm run lint:type
# lint code & type
npm run lint
main
分支提交 Pull Requestfeat
分支提交 Pull Request# 开启开发服务器,注意热更新不是很好用
# 如果你觉得哪里有问题,刷新页面即可
npm run dev
# 测试
npm run test
# 测试某个组件
npm run test -- src/xxx
# 生成覆盖率报告
npm run test:cov
# 检查代码风格
npm run lint:code
# 检查类型
npm run lint:type
# 上面俩个都检查
npm run lint
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。