From 96e4b505629426db6f45e3c783f2f2a502d57a02 Mon Sep 17 00:00:00 2001 From: Christian Malek Date: Wed, 15 Mar 2017 12:37:39 +0100 Subject: [PATCH] Update navigation.md The sentence above mentions that the string represents the path. But I think this will be much clearer because not everyone wants to read the text. So it's instantly recognizeable that if you just pass a simple string it's a path and not the route name. --- docs/en/essentials/navigation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/essentials/navigation.md b/docs/en/essentials/navigation.md index 66bcd6b01..55f7dbb86 100644 --- a/docs/en/essentials/navigation.md +++ b/docs/en/essentials/navigation.md @@ -15,7 +15,7 @@ This is the method called internally when you click a ``, so clicki The argument can be a string path, or a location descriptor object. Examples: ``` js -// literal string +// literal string path router.push('home') // object