From d452a6bb33aee5094bd235103ba6bdd5a1688fb6 Mon Sep 17 00:00:00 2001 From: Jinjiang Date: Wed, 18 Oct 2017 13:13:16 +0800 Subject: [PATCH] [en] typo --- docs/en/advanced/navigation-guards.md | 2 +- docs/en/essentials/getting-started.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/advanced/navigation-guards.md b/docs/en/advanced/navigation-guards.md index c479cde64..67ab1aa12 100644 --- a/docs/en/advanced/navigation-guards.md +++ b/docs/en/advanced/navigation-guards.md @@ -116,7 +116,7 @@ beforeRouteEnter (to, from, next) { } ``` -Note that `beforeRouteEnter` is the only hook that supports passing a callback to `next`. For `beforeRouteUpdate` and `beforeRouteLeave`, `this` is already available, so passing a callback is unnecessary and therefore *not supported*: +Note that `beforeRouteEnter` is the only guard that supports passing a callback to `next`. For `beforeRouteUpdate` and `beforeRouteLeave`, `this` is already available, so passing a callback is unnecessary and therefore *not supported*: ```js beforeRouteUpdate (to, from, next) { diff --git a/docs/en/essentials/getting-started.md b/docs/en/essentials/getting-started.md index 8b826aa12..197d8826d 100644 --- a/docs/en/essentials/getting-started.md +++ b/docs/en/essentials/getting-started.md @@ -88,6 +88,6 @@ export default { Throughout the docs, we will often use the `router` instance. Keep in mind that `this.$router` is exactly the same as using `router`. The reason we use `this.$router` is because we don't want to import the router in every single component that needs to manipulate routing. -You can also check out this example [live](http://jsfiddle.net/yyx990803/xgrjzsup/). +You can also check out this example [live](https://jsfiddle.net/yyx990803/xgrjzsup/). Notice that a `` automatically gets the `.router-link-active` class when its target route is matched. You can learn more about it in its [API reference](../api/router-link.md).