参与贡献
欢迎提出建议和提交 Pull Request。
组件的添加流程
- 规格说明:对比 API 与行为,并确定范围。
- 就范围和有争议的决定达成一致。
- 使用 Svelte 5 从零实现。
- 测试:规格说明中的每一项至少对应一个测试。
- 更新日志中的记录。
- 本站上带在线示例与 API 表格的页面。
本地运行
npm install
npm run dev # this documentation site, with live reload
npm test # unit and accessibility tests
npm run test:e2e # library tests in a browser
npm run check # type check of the library
npm run check:docs # type check of the documentation site
npm run lint
npm run build # build this site, then
npm run test:docs # check links and run its browser tests AI 的使用
开发过程中使用了 AI 辅助编写代码、测试和文档,所有代码均经过人工审查与测试。