Skip to content

Commit eca30b2

Browse files
authored
Fix typo - hyphenate Single-File Component (#1822)
See #1788 for an explanation
1 parent da406ac commit eca30b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/sfc-script-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# \<script setup>
22

3-
`<script setup>` is a compile-time syntactic sugar for using Composition API inside Single File Components (SFCs). It is the recommended syntax if you are using both SFCs and Composition API. It provides a number of advantages over the normal `<script>` syntax:
3+
`<script setup>` is a compile-time syntactic sugar for using Composition API inside Single-File Components (SFCs). It is the recommended syntax if you are using both SFCs and Composition API. It provides a number of advantages over the normal `<script>` syntax:
44

55
- More succinct code with less boilerplate
66
- Ability to declare props and emitted events using pure TypeScript

0 commit comments

Comments
 (0)