From: George Deligiannis Date: Tue, 11 May 2021 19:11:47 +0000 (+0300) Subject: docs: change router.addRoutes to router.addRoute (#940) X-Git-Tag: v4.0.7~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85a026ba4a4a15ebadcd61064db81ece5d857d32;p=thirdparty%2Fvuejs%2Frouter.git docs: change router.addRoutes to router.addRoute (#940) * Change router.addRoutes to router.addRoute Co-authored-by: Eduardo San Martin Morote --- diff --git a/docs/api/index.md b/docs/api/index.md index 3ac5747e..f708c3ff 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -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