https://github.com/onface/component-spec
🗒️ Web组件规范
https://github.com/onface/component-spec
Last synced: about 1 month ago
JSON representation
🗒️ Web组件规范
- Host: GitHub
- URL: https://github.com/onface/component-spec
- Owner: onface
- Created: 2018-01-28T06:39:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T07:58:20.000Z (almost 7 years ago)
- Last Synced: 2025-02-17T09:43:14.419Z (4 months ago)
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# component-spec
> Web前端组件开发指南
1. ~~[CSS命名规范](./chapter/css.md)~~ - 选择命名规范便于调试和自定义样式
2. ~~[em使用规则](./chapter/em.md)~~ - 使组件样式更方便更改整体大小。各组件默认尺寸的私有制定。
2. ~~[自定义界面](./chapter/custom-ui.md)~~ - 如何让使用者自定义界面。themes 接口、themes 的继承队列、完全自定义样式、完全自定义HTML结构
3. ~~[二次封装](./chapter/package.md)~~ - 使用者新增接口
4. ~~[接口设计](./chapter/api-design.md)~~ - 如何设计简单强大的接口
5. ~~[如何写示例](./chapter/example.md)~~ - 渐进式示例
6. ~~[最佳实践](./chapter/best-practice.md)~~ - 作者对组件的使用建议。一个组件只解决一类问题,小而精!
7. ~~[单元测试](./chapter/tests.md)~~ - 单元测试让组件更稳定
8. ~~[版本迭代](./chapter/version.md)~~ - 组件版本控制和修改日志
9. ~~[持续构建](./chapter/ci.md)~~ - 自动化测试与发布