Commit d9ca7f94 authored by huanglu's avatar huanglu

docs: 完善文档

parent 4c80a6d8
...@@ -54,9 +54,11 @@ ...@@ -54,9 +54,11 @@
) )
} }
``` ```
- 在 vue 项目中,css 的style 标签内(除公共样式),使用 scope 属性,样式命名使用 `-` 命名方式: eg: - 在 vue 项目中,css 的style 标签内(除公共样式),使用 scoped 属性,样式命名使用 `-` 命名方式: eg:
```css ```html
.home-header: {} <style scoped lang='sass'>
.home-header: {}
</style>
``` ```
- 全局样式文件的样式,开发者谨慎添加,添加后,需在项目群进行告知 - 全局样式文件的样式,开发者谨慎添加,添加后,需在项目群进行告知
- jsx?/tsx? 规范 - jsx?/tsx? 规范
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment