Skip to content

Commit fb41a88

Browse files
committed
translate api/on.md
1 parent 13086a5 commit fb41a88

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/ja/api/on.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# `router.on(path, config)`
22

3-
Add a single root-level route configuration. Internally, `router.map()` simply calls `router.on()` for each key-value pair in the router map object it receives.
3+
単一の root レベルの route 設定を追加します。内部的に、`router.map()` は単に 受信したルーターマップオブジェクトで各 key-value ペアに対して `router.on()` を呼びまします。
44

5-
### Arguments
5+
### 引数
66

7-
- `path: String` - see [Route Matching](../route.md#route-matching)
8-
- `config: Object` - see [Route Config Object](map.md#route-config-object).
7+
- `path: String` - [Route マッチング](../route.md#route-matching)を参照してください。
8+
- `config: Object` - [Route 設定オブジェクト](map.md#route-config-object)を参照してください。
99

10-
### Example
10+
###
1111

1212
``` js
1313
router.on('/user/:userId', {

0 commit comments

Comments
 (0)