Skip to content

Commit 59f9d1a

Browse files
i18n(zh-cn): Update storyblok.mdx (#12457)
Co-authored-by: Yan <[email protected]>
1 parent 2faf609 commit 59f9d1a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/content/docs/zh-cn/guides/cms/storyblok.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
1616

1717
## 与 Astro 集成
1818

19-
在本小节中,你将使用 [Storyblok 集成](https://github.com/storyblok/storyblok-astro) 来将 Storyblok 连接到 Astro。
19+
在本小节中,你将使用 [Storyblok 集成](https://github.com/storyblok/monoblok/tree/main/packages/astro) 来将 Storyblok 连接到 Astro。
2020

2121
### 前期准备
2222

@@ -47,7 +47,7 @@ STORYBLOK_TOKEN=YOUR_PREVIEW_TOKEN
4747

4848
### 安装依赖
4949

50-
为了将 Astro 连接到你的 Storyblok 空间,使用以下命令安装官方的 [Storyblok 集成](https://github.com/storyblok/storyblok-astro),可以用你偏好的包管理器执行相应命令:
50+
为了将 Astro 连接到你的 Storyblok 空间,使用以下命令安装官方的 [Storyblok 集成](https://github.com/storyblok/monoblok/tree/main/packages/astro),可以用你偏好的包管理器执行相应命令:
5151

5252
<PackageManagerTabs>
5353
<Fragment slot="npm">
@@ -108,7 +108,7 @@ Storyblok 集成需要一个包含以下属性的对象:
108108
组件路径是相对于 `src` 目录的。例如,如果你的组件位于 `src/storyblok/MyComponent.astro`,路径将是 `storyblok/MyComponent`(不包括 `.astro` 扩展名)。
109109
:::
110110

111-
3. `apiOptions` - 一个包含 [Storyblok API 选项](https://github.com/storyblok/storyblok-astro#options) 的对象。
111+
3. `apiOptions` - 一个包含 [Storyblok API 选项](https://www.storyblok.com/docs/packages/storyblok-astro#api) 的对象。
112112

113113
:::caution
114114
默认情况下,区域是 `eu`。如果你的 Storyblok 空间创建在美国区域,你需要将区域设置为 `us`
@@ -540,7 +540,9 @@ try {
540540

541541
## 官方资源
542542

543-
- Storyblok 提供了一个 [Astro 集成](https://www.storyblok.com/mp/announcing-storyblok-astro),可以将 Storyblok 添加到你的项目中。
543+
- 使用 [Storyblok Astro 集成](https://www.storyblok.com/mp/announcing-storyblok-astro) 可以将 Storyblok 添加到你的项目中。
544+
- [Storyblok Astro 指南](https://www.storyblok.com/docs/guides/astro/)
545+
- [Storyblok Astro 包参考](https://www.storyblok.com/docs/packages/storyblok-astro)
544546

545547
## 社区资源
546548

0 commit comments

Comments
 (0)