Skip to content

Commit

Permalink
feat: 补充Vue写法规范提示
Browse files Browse the repository at this point in the history
  • Loading branch information
nf173 committed Feb 1, 2025
1 parent 1664f3e commit 6948ad1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/standard/front-end/vue.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Vue 写法规范

<tips type="info">
为降低开发心智负担,MES Core 已配置 <code>eslint</code> 和 <code>prettier</code>,保存时将自动格式化代码风格。
</tips>

## SFC 顺序

**Vue 的单文件组件(Single File Component, SFC)** 中,代码的组织顺序对于代码的可读性和维护性非常重要。虽然没有严格的强制规定,但遵循一定的约定和最佳实践可以让代码更加清晰和易于理解。
Expand Down

0 comments on commit 6948ad1

Please sign in to comment.