Skip to content

Commit 6ce0ff7

Browse files
committed
document addRoutes
1 parent a4a91e7 commit 6ce0ff7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/en/api/router-instance.md

+6
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@
5353
href: string;
5454
}
5555
```
56+
57+
- **router.addRoute(routes)**
58+
59+
> 2.2.0+
60+
61+
Dynamically add more routes to the router. The argument must be an Array using the same route config format with the `routes` constructor option.

0 commit comments

Comments
 (0)