From 8ec48dd70d341d64a40bf1610b54bc3790616286 Mon Sep 17 00:00:00 2001 From: Naoki Endoh Date: Fri, 26 Nov 2021 21:37:49 +0900 Subject: [PATCH] docs: translate api > sfc script setup --- src/api/sfc-script-setup.md | 79 +++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/src/api/sfc-script-setup.md b/src/api/sfc-script-setup.md index 4d7d4e55..5df14671 100644 --- a/src/api/sfc-script-setup.md +++ b/src/api/sfc-script-setup.md @@ -4,16 +4,16 @@ sidebarDepth: 1 # SFC ` ``` -The code inside is compiled as the content of the component's `setup()` function. This means that unlike normal ` @@ -149,14 +149,15 @@ const vMyDirective = {

This is a Heading

``` + ```html ``` -## `defineProps` and `defineEmits` +## `defineProps` と `defineEmits` To declare `props` and `emits` in ` ``` -## Top-level `await` +## トップレベルの `await` Top-level `await` can be used inside `