Skip to content

Commit dd4b12d

Browse files
vrabeyanthomasdev
andauthored
i18n(zh-tw): update guides/migrate-to-astro/index.mdx (#12076)
Co-authored-by: Yan <[email protected]>
1 parent ed8ba5b commit dd4b12d

File tree

1 file changed

+19
-17
lines changed
  • src/content/docs/zh-tw/guides/migrate-to-astro

1 file changed

+19
-17
lines changed
Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,49 @@
11
---
22
title: 將現有專案遷移到 Astro
3-
description: 將您的網站轉換為 Astro 的一些提示和技巧。
3+
description: 將你的網站轉換為 Astro 的一些提示和技巧。
4+
sidebar:
5+
label: 網站遷移概觀
46
i18nReady: true
57
---
68
import MigrationGuidesNav from '~/components/MigrationGuidesNav.astro';
79

8-
**準備好將您的網站轉換為 Astro 了嗎?** 請參閱我們提供的任一個遷移技巧指南。
10+
**準備好將你的網站轉換為 Astro 了嗎?** 請參閱我們提供的任一個遷移技巧指南。
911

1012
## 遷移指南
1113

1214
<MigrationGuidesNav />
1315

14-
請注意,這些頁面中有許多是**存根**它們是正在等待您的貢獻的資源集合
16+
請注意,這些頁面中有許多是**小作品**它們是正在等待你貢獻的資源集合
1517

16-
## 為什麼將您的網站遷移到 Astro?
18+
## 為什麼要將你的網站遷移到 Astro?
1719

18-
Astro 提供了許多好處:性能、簡單性,以及許多您想要的功能都內建在框架中。當您需要擴展您的網站時,Astro 提供了一些 [官方和第三方社群的整合](https://astro.build/integrations)
20+
Astro 提供了許多好處:性能、簡單性,以及許多你想要的功能都內建在框架中。當你需要擴展你的網站時,Astro 提供了一些[官方和第三方社群的整合](https://astro.build/integrations)
1921

20-
遷移的工作量可能比您想象的要小
22+
遷移的工作量可能比你想像的要小
2123

22-
根據您現有的專案,您可能可以
24+
根據你現有的專案,你可能可以
2325

24-
- 在 Astro 中直接使用您現有的 [UI 框架元件](/zh-tw/guides/framework-components/)
26+
- 在 Astro 中直接使用你現有的 [UI 框架元件](/zh-tw/guides/framework-components/)
2527

26-
- 使用您現有的 [CSS 樣式或函式庫](/zh-tw/guides/styling/) 包括 Tailwind。
28+
- 使用你現有的 [CSS 樣式或函式庫](/zh-tw/guides/styling/) 包括 Tailwind。
2729

28-
- 使用您現有的 [Markdown/MDX 檔案](/zh-tw/guides/markdown-content/)以及 [remark 和 rehype 套件](/zh-tw/guides/markdown-content/#markdown-plugins) 進行設定。
30+
- 使用你現有的 [Markdown/MDX 檔案](/zh-tw/guides/markdown-content/) [remark 和 rehype 套件](/zh-tw/guides/markdown-content/#markdown-plugins)進行設定。
2931

30-
- 透過整合或 API 取得 [來自 CMS 的內容](/zh-tw/guides/cms/)
32+
- 透過整合或 API 取得[來自 CMS 的內容](/zh-tw/guides/cms/)
3133

3234

3335
## 我可以將哪些專案轉換為 Astro?
3436

35-
[很多現有的網站可以使用 Astro 建構](/zh-tw/concepts/why-astro/) Astro 非常適用於您已有的內容型網站,如部落格、登入頁面、行銷網站和個人作品集。 Astro 整合了幾個流行的headless CMS,並且允許您連接電子商務商店的購物車
37+
[很多現有的網站可以使用 Astro 建構](/zh-tw/concepts/why-astro/)。Astro 非常適用於你已有的內容型網站,如部落格、登入頁面、行銷網站和個人作品集。Astro 整合了幾個流行的 headless CMS,並且允許你連接電子商務商店的購物車
3638

37-
Astro 允許您選擇使用靜態網頁生成或 [server-side rendering (SSR)](/zh-tw/guides/on-demand-rendering/) ,使其能夠非常好的取代 SSG 或需要即時獲取頁面資料的網站
39+
Astro 允許你建立靜態生成的網頁、路由隨需算繪的動態應用程式,或結合兩者,還能[完全控制專案的算繪方式](/zh-tw/guides/on-demand-rendering/)。因此它非常適合做為 SSG 或需即時獲取資料網站的替代方案
3840

3941
## 從何改變我的專案設計?
4042

41-
根據您現有的專案,您可能需要從不同方面進行思考
43+
根據你現有的專案,可能需要從不同方面進行思考
4244

43-
- 使用 [Astro 群島](/zh-tw/concepts/islands/#什麼是-astro-群島) 設計以避免向瀏覽器發送不必要的 JavaScript。
45+
- 使用 [Astro 群島](/zh-tw/concepts/islands/#什麼是-astro-群島)設計以避免向瀏覽器發送不必要的 JavaScript。
4446

45-
- 使用 [客戶端 `<script>` 標籤](/zh-tw/guides/client-side-scripts/) [UI 框架元件](/zh-tw/guides/framework-components/) 提供客戶端互動性。
47+
- 使用[客戶端 `<script>` 標籤](/zh-tw/guides/client-side-scripts/)[UI 框架元件](/zh-tw/guides/framework-components/)提供客戶端互動性。
4648

47-
- 使用 Nano Stores 或 local storage 管理 [共用狀態](/zh-tw/recipes/sharing-state-islands/),而不是全局 hooks 或包裝類別。
49+
- 使用 Nano Stores 或 local storage 管理[共用狀態](/zh-tw/recipes/sharing-state-islands/),而不是全局 hooks 或包裝類別。

0 commit comments

Comments
 (0)