docs: 统一规范文档示例格式,使用三级标题 Example 和四级标题 Good/Bad 展示代码示例

This commit is contained in:
Lyda
2026-04-13 13:00:57 +08:00
parent dae54e90b6
commit f34b31f542
8 changed files with 141 additions and 71 deletions
+4 -2
View File
@@ -4,7 +4,9 @@
## Vue 组件文件使用大驼峰命名 `[Vue.FileName.UpperCamel]`
### Good
### Example: Vue 组件文件命名
#### Good: 使用大驼峰命名
```vue
<!-- UserInfo.vue -->
@@ -20,7 +22,7 @@ export default {
</script>
```
### Bad
#### Bad: 使用全小写命名
```vue
<!-- userinfo.vue -->