]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: change router.addRoutes to router.addRoute (#940)
authorGeorge Deligiannis <g.d.deligiannis@gmail.com>
Tue, 11 May 2021 19:11:47 +0000 (22:11 +0300)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 19:11:47 +0000 (21:11 +0200)
* Change router.addRoutes to router.addRoute

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
docs/api/index.md

index 3ac5747e869f0d9a553bdbc337d3be4befefd3a5..f708c3ff02afccccaa6b42d521ada73a496f912e 100644 (file)
@@ -780,7 +780,7 @@ stringifyQuery?: (
 
 ## RouteRecordRaw
 
-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:
+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:
 
 - Single views records: have a `component` option
 - Multiple views records ([named views](../guide/essentials/named-views.md)): have a `components` option