File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/content/docs/zh-tw/basics Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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---
You can’t perform that action at this time.
0 commit comments