Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c64958c

Browse filesBrowse files
authored
Update sfc-script-setup.md (#1345)
see vuejs/core#4980 (comment)
1 parent bd47f2a commit c64958c
Copy full SHA for c64958c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎src/api/sfc-script-setup.md

Copy file name to clipboardExpand all lines: src/api/sfc-script-setup.md
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ export default {
243243
</script>
244244
```
245245

246+
:::warning
247+
`render` function is not supported in this scenario. Please use one normal `<script>` with `setup` option instead.
248+
:::
249+
246250
## Top-level `await`
247251

248252
Top-level `await` can be used inside `<script setup>`. The resulting code will be compiled as `async setup()`:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.