Skip to content

Commit 477cf44

Browse files
MachinisteWebyyx990803
authored andcommitted
Doc EN : Removing unnecessary new lines from named-views.md and named-routes.md (vuejs#1517)
* Remove unnecessary new line Signed-off-by: Bruno Lesieur <[email protected]> * Update dev * Remove unecessaries return lines. Signed-off-by: Bruno Lesieur <[email protected]>
1 parent 9fde13f commit 477cf44

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/en/essentials/named-routes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ const router = new VueRouter({
1414
})
1515
```
1616

17-
To link to a named route, you can pass an object to the `router-link`
18-
component's `to` prop:
17+
To link to a named route, you can pass an object to the `router-link` component's `to` prop:
1918

2019
``` html
2120
<router-link :to="{ name: 'user', params: { userId: 123 }}">User</router-link>

docs/en/essentials/named-views.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ const router = new VueRouter({
2626
})
2727
```
2828

29-
A working demo of this example can be found
30-
[here](https://jsfiddle.net/posva/6du90epg/).
29+
A working demo of this example can be found [here](https://jsfiddle.net/posva/6du90epg/).

0 commit comments

Comments
 (0)