Skip to content

Commit 6d97e5e

Browse files
Jinjiangkazupon
authored andcommitted
[en] typo (#1825)
1 parent 2930d52 commit 6d97e5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: docs/en/advanced/navigation-guards.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ beforeRouteEnter (to, from, next) {
116116
}
117117
```
118118

119-
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*:
119+
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*:
120120

121121
```js
122122
beforeRouteUpdate (to, from, next) {

Diff for: docs/en/essentials/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ export default {
8888

8989
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.
9090

91-
You can also check out this example [live](http://jsfiddle.net/yyx990803/xgrjzsup/).
91+
You can also check out this example [live](https://jsfiddle.net/yyx990803/xgrjzsup/).
9292

9393
Notice that a `<router-link>` 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).

0 commit comments

Comments
 (0)