Skip to content

Commit 58cc512

Browse files
committed
chore(website): npm run fmt:write
1 parent a819977 commit 58cc512

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

  • website
    • docs/concepts
    • i18n
      • ja/docusaurus-plugin-content-docs/current/concepts
      • zh-Hans/docusaurus-plugin-content-docs/current/concepts
      • zh-Hant/docusaurus-plugin-content-docs/current/concepts

website/docs/concepts/router.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ routes and will not match each other. This matters because browsers resolve
169169
relative paths differently depending on the trailing slash:
170170

171171
| URL in address bar | Relative reference `./image.jpg` resolves to |
172-
|---|---|
173-
| `/about` | `/image.jpg` |
174-
| `/about/` | `/about/image.jpg` |
172+
| ------------------ | -------------------------------------------- |
173+
| `/about` | `/image.jpg` |
174+
| `/about/` | `/about/image.jpg` |
175175

176176
If your component uses relative asset paths, make sure the route definition and
177177
the links pointing to it agree on the trailing slash.

website/i18n/ja/docusaurus-plugin-content-docs/current/concepts/router.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ enum Route {
152152
ルーティングでは末尾のスラッシュが区別されます。`/about``/about/` は異なるルートであり、互いにマッチしません。これはブラウザが末尾のスラッシュの有無に応じて相対パスを異なる方法で解決するため重要です:
153153

154154
| アドレスバーの URL | 相対参照 `./image.jpg` の解決先 |
155-
|---|---|
156-
| `/about` | `/image.jpg` |
157-
| `/about/` | `/about/image.jpg` |
155+
| ------------------ | ------------------------------- |
156+
| `/about` | `/image.jpg` |
157+
| `/about/` | `/about/image.jpg` |
158158

159159
コンポーネントで相対アセットパスを使用する場合は、ルート定義とそれを指すリンクの末尾のスラッシュが一致していることを確認してください。
160160

website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/concepts/router.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ enum Route {
152152
路由区分尾部斜杠。`/about``/about/` 是不同的路由,不会互相匹配。这很重要,因为浏览器根据尾部斜杠的有无以不同的方式解析相对路径:
153153

154154
| 地址栏中的 URL | 相对引用 `./image.jpg` 解析为 |
155-
|---|---|
156-
| `/about` | `/image.jpg` |
157-
| `/about/` | `/about/image.jpg` |
155+
| -------------- | ----------------------------- |
156+
| `/about` | `/image.jpg` |
157+
| `/about/` | `/about/image.jpg` |
158158

159159
如果您的组件使用相对资源路径,请确保路由定义和指向它的链接在尾部斜杠上保持一致。
160160

website/i18n/zh-Hant/docusaurus-plugin-content-docs/current/concepts/router.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ enum Route {
152152
路由會區分尾部斜線。`/about``/about/` 是不同的路由,不會互相匹配。這很重要,因為瀏覽器根據尾部斜線的有無以不同的方式解析相對路徑:
153153

154154
| 網址列中的 URL | 相對引用 `./image.jpg` 解析為 |
155-
|---|---|
156-
| `/about` | `/image.jpg` |
157-
| `/about/` | `/about/image.jpg` |
155+
| -------------- | ----------------------------- |
156+
| `/about` | `/image.jpg` |
157+
| `/about/` | `/about/image.jpg` |
158158

159159
如果您的元件使用相對資源路徑,請確保路由定義和指向它的連結在尾部斜線上保持一致。
160160

0 commit comments

Comments
 (0)