You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api/sfc-spec.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ export default {
40
40
41
41
### `<script>`
42
42
43
-
- Each `*.vue` file can contain at most one `<script>` block at a time (excluding [<scriptsetup>](/api/sfc-script-setup.html)).
43
+
- Each `*.vue` file can contain at most one `<script>` block at a time (excluding [`<script setup>`](/api/sfc-script-setup.html)).
44
44
45
45
- The script is executed as an ES Module.
46
46
@@ -60,7 +60,13 @@ export default {
60
60
61
61
### Custom Blocks
62
62
63
-
Additional custom blocks can be included in a `*.vue` file for any project specific needs, for example a `<docs>` block. Handling of Custom Blocks will depend on tooling - see [SFC Tooling](/api/sfc-tooling#custom-blocks-integration) for more details.
63
+
Additional custom blocks can be included in a `*.vue` file for any project specific needs, for example a `<docs>` block. Some real-world examples of custom blocks include:
Handling of Custom Blocks will depend on tooling - if you want to build your own custom block integrations, see [SFC Tooling](/api/sfc-tooling#custom-blocks-integration) for more details.
0 commit comments