Skip to content

Commit c7d8112

Browse files
committed
docs: typo
Close vuejs#1439
1 parent 5e520f0 commit c7d8112

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/docs/zh/guide/essentials/named-routes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const routes = [
1717
{
1818
path: '/user/:username',
1919
name: 'user',
20-
component: User
21-
}
20+
component: User,
21+
},
2222
]
2323
```
2424

@@ -38,4 +38,4 @@ router.push({ name: 'user', params: { username: 'erina' } })
3838

3939
在这两种情况下,路由将导航到路径 `/user/erina`
4040

41-
完整的例子[这里](https://github.com/vuejs/vue-router/blob/dev/examples/named-routes/app.js).
41+
完整的例子在[这里](https://github.com/vuejs/vue-router/blob/dev/examples/named-routes/app.js).

0 commit comments

Comments
 (0)