Skip to content

Commit a2fbb95

Browse files
vrabeyanthomasdev
andauthored
i18n(zh-tw): update basics/astro-components.mdx (#12592)
Co-authored-by: Yan <[email protected]>
1 parent f3e878e commit a2fbb95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/zh-tw/basics/astro-components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Astro 元件腳本使用 TypeScript,這讓您可以為 JavaScript 增加額外
7373

7474
寫在這裡的 HTML 會被元件算繪,當元件被其他 Astro 頁面匯入使用時亦同。
7575

76-
不只一般的 HTML,[Astro 的元件模板語法](/zh-tw/reference/astro-syntax/) 也支援 **JavaScript 表達式**、Astro [`<style>`](/zh-tw/guides/styling/#styling-in-astro)[`<script>`](/zh-tw/guides/client-side-scripts/) 標籤、**匯入的元件**,以及[**特殊的 Astro 指令**](/zh-tw/reference/directives-reference/)
76+
不只一般的 HTML,[Astro 的元件模板語法](/zh-tw/reference/astro-syntax/) 也支援 **JavaScript 表達式**、Astro [`<style>`](/zh-tw/guides/styling/#styling-in-astro)[`<script>`](/zh-tw/guides/client-side-scripts/) 標籤、**匯入的元件**,以及[**特殊的 Astro 指令**](/zh-tw/reference/directives-reference/)定義在元件腳本的資料與值可以用在元件模板以產生動態建立的 HTML。
7777

7878
```astro title="src/components/MyFavoritePokemon.astro"
7979
---

0 commit comments

Comments
 (0)