diff --git a/.changeset/stupid-news-look.md b/.changeset/stupid-news-look.md new file mode 100644 index 000000000000..a292331877bb --- /dev/null +++ b/.changeset/stupid-news-look.md @@ -0,0 +1,6 @@ +--- +'@modern-js/main-doc': patch +--- + +fix(doc): update doc routing link +fix(doc): 更新文档自控路由链接 diff --git a/packages/document/main-doc/docs/en/apis/app/hooks/src/app.mdx b/packages/document/main-doc/docs/en/apis/app/hooks/src/app.mdx index bc9747e8fd9d..722e26087a8b 100644 --- a/packages/document/main-doc/docs/en/apis/app/hooks/src/app.mdx +++ b/packages/document/main-doc/docs/en/apis/app/hooks/src/app.mdx @@ -4,7 +4,7 @@ sidebar_position: 1 --- # App.[tj]sx -The identifier for the entry points when the application uses [Self-controlled Routing](/guides/basic-features/routes.html#self-controlled-routing). +The identifier for the entry points when the application uses [Self-controlled Routing](/guides/concept/entries.html#self-controlled-routing). `App.[tj]sx` is not the actual entry. Modern.js will generate the real entry for application. The content is roughly as follows: diff --git a/packages/document/main-doc/docs/zh/apis/app/hooks/src/app.mdx b/packages/document/main-doc/docs/zh/apis/app/hooks/src/app.mdx index d70b668c4d2b..2250b410db26 100644 --- a/packages/document/main-doc/docs/zh/apis/app/hooks/src/app.mdx +++ b/packages/document/main-doc/docs/zh/apis/app/hooks/src/app.mdx @@ -4,7 +4,7 @@ sidebar_position: 1 --- # App.[tj]sx -应用使用[自控路由](/guides/basic-features/routes.html#self-controlled-routing)时的入口标识符。 +应用使用[自控路由](/guides/concept/entries.html#自控式路由)时的入口标识符。 `App.[tj]sx` 并不是实际的应用入口,Modern.js 会自动生成真正的构建打包的入口文件, 内容大致如下: