@fredwsw/frontend-rules 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fredwsw/frontend-rules",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Sync latest .cursor rules into project root",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,7 +23,7 @@ alwaysApply: true
23
23
 
24
24
  # Vue开发规范
25
25
 
26
- - 新项目统一使用 Composition API + `<script setup>`
26
+ - vue3项目统一使用 Composition API + `<script setup>`
27
27
  - 单文件组件内容顺序统一为:`script` > `template` > `style`
28
28
  - 禁止在同一元素上同时使用 `v-for` 与 `v-if`
29
29
  - `v-for` 必须绑定稳定且唯一的 `key`,禁止使用不稳定 key