We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199f906 commit 7866b85Copy full SHA for 7866b85
.cursor/rules/lib.mdc
@@ -19,3 +19,7 @@ alwaysApply: true
19
20
- 模块划分要保持一致,避免命名或逻辑差异
21
- 当代码过于复杂时,应该提取逻辑,封装为独立模块
22
+- 数据层(data目录)要尽可能保证不干涉布局,不干涉渲染,只负责解析和数据处理
23
+- 布局层(layout目录)要尽可能保证不干涉数据,是基于数据进行布局计算,并且不侵入渲染
24
+- 布局层一定要注意是自底向上构建
25
+- 渲染层(render目录)要尽可能保证不干涉数据和布局,基于布局层进行渲染,基于数据层进行显示
0 commit comments