docs: 统一规范文档示例格式,使用三级标题 Example 和四级标题 Good/Bad 展示代码示例
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user