]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: typo
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 4 Jul 2022 12:50:04 +0000 (14:50 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 4 Jul 2022 12:50:04 +0000 (14:50 +0200)
Close #1439

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

index 6c2fafc638a548abc9c64540d85677027cf1e85d..0bdd4de4d71fc5069859fda9dae311449fde593a 100644 (file)
@@ -17,8 +17,8 @@ const routes = [
   {
     path: '/user/:username',
     name: 'user',
-    component: User
-  }
+    component: User,
+  },
 ]
 ```
 
@@ -38,4 +38,4 @@ router.push({ name: 'user', params: { username: 'erina' } })
 
 在这两种情况下,路由将导航到路径 `/user/erina`。
 
-完整的例子[这里](https://github.com/vuejs/vue-router/blob/dev/examples/named-routes/app.js).
+完整的例子[这里](https://github.com/vuejs/vue-router/blob/dev/examples/named-routes/app.js).