Skip to content

Commit 85a026b

Browse files
docs: change router.addRoutes to router.addRoute (vuejs#940)
* Change router.addRoutes to router.addRoute Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent df25fb5 commit 85a026b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ stringifyQuery?: (
780780

781781
## RouteRecordRaw
782782

783-
Route record that can be provided by the user when adding routes via the [`routes` option](#routeroptions) or via [`router.addRoutes()`](#addroutes). There are three different kind of route records:
783+
Route record that can be provided by the user when adding routes via the [`routes` option](#routeroptions) or via [`router.addRoute()`](#addroute-2). There are three different kind of route records:
784784

785785
- Single views records: have a `component` option
786786
- Multiple views records ([named views](../guide/essentials/named-views.md)): have a `components` option

0 commit comments

Comments
 (0)