add license to vue_component_style_guid.md and modify component directory structure.
This commit is contained in:
parent
b98041d3f2
commit
6c5a0f39bb
|
@ -38,3 +38,5 @@
|
|||
|
||||
- 我们提供了PR模板,请在提交PR时安装模板要求提供「修改的内容」、「管理的PR」、「测试用例」、「界面预览」等相关内容。
|
||||
|
||||
|
||||
<a rel="license" href="https://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/88x31.png" /></a>
|
||||
|
|
|
@ -17,14 +17,14 @@ Farris UI Vue 的组件,都包含在`ui-vue`包的`components`目录下,每
|
|||
farris-component
|
||||
├── specs // 单元测试
|
||||
| └── farris-component.spec.ts
|
||||
└── src // 组件源码
|
||||
| └── components // 子组件
|
||||
| ├── farris-child-component.ts
|
||||
| └── services // 组件的可复用逻辑
|
||||
| ├── some-feature.service.ts
|
||||
| ├── some-feature.render.ts
|
||||
| ├── some-feature.template.ts
|
||||
| ├── some-event.handler.ts
|
||||
├── src // 组件源码
|
||||
| ├── components // 子组件
|
||||
| | └── farris-child-component.ts
|
||||
| ├── services // 组件的可复用逻辑
|
||||
| | ├── some-feature.service.ts
|
||||
| | ├── some-feature.render.ts
|
||||
| | ├── some-feature.template.ts
|
||||
| | └── some-event.handler.ts
|
||||
| ├── farris-component.types.ts // 组件类型
|
||||
| └── farris-component.tsx // 组件代码
|
||||
└── index.ts // 组件入口文件
|
||||
|
@ -155,3 +155,6 @@ describe('SomeComponent', () => {
|
|||
待上线Doc站点后补充
|
||||
|
||||
|
||||
## 关于
|
||||
本项目的 Farris UI Vue 组件开发规范遵循[CC-By 3.0协议](https://creativecommons.org/licenses/by/3.0/)。
|
||||
<a rel="license" href="https://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/88x31.png" /></a>
|
Loading…
Reference in New Issue