Skip to content

Commit

Permalink
docs(fr): correction of nested routes and components (#3322)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
  • Loading branch information
ugocottin and posva committed Sep 14, 2020
1 parent ecc8e27 commit e52d648
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/fr/guide/essentials/nested-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ const router = new VueRouter({
{
// `UserProfile` va être rendu à l'intérieur du `<router-view>` de `User`
// quand `/utilisateur/:id/profil` concorde
path: 'profile',
path: 'profil',
component: UserProfile
},
{
// `UserPosts` va être rendu à l'intérieur du `<router-view>` de `User`
// quand `/utilisateur/:id/billets` concorde
path: 'posts',
path: 'billets',
component: UserPosts
}
]
Expand All @@ -85,7 +85,7 @@ const router = new VueRouter({
{
path: '/utilisateur/:id', component: User,
children: [
// `UserProfile` va être rendu à l'intérieur du `<router-view>` de `User`
// `UserHome` va être rendu à l'intérieur du `<router-view>` de `User`
// quand `/utilisateur/:id` concorde
{ path: '', component: UserHome },

Expand Down

0 comments on commit e52d648

Please sign in to comment.