From 75e366d0afa6553577f90e6422924242ad91275c Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Fri, 5 May 2017 22:07:18 +0200 Subject: [PATCH 1/4] Add translation for `installation.md` --- docs/en/SUMMARY.md | 2 +- docs/en/installation.md | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/en/SUMMARY.md b/docs/en/SUMMARY.md index 6f34288c7..16afdc856 100644 --- a/docs/en/SUMMARY.md +++ b/docs/en/SUMMARY.md @@ -6,7 +6,7 @@ - [Installation (En)](installation.md) - Essentiel - - [Pour commencer (En)](essentials/getting-started.md) + - [Pour commencer](essentials/getting-started.md) - [Dynamic Route Matching (En)](essentials/dynamic-matching.md) - [Nested Routes (En)](essentials/nested-routes.md) - [Programmatic Navigation (En)](essentials/navigation.md) diff --git a/docs/en/installation.md b/docs/en/installation.md index 785846cf0..c63e4cbae 100644 --- a/docs/en/installation.md +++ b/docs/en/installation.md @@ -1,14 +1,14 @@ -# Installation (En)

*Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).* +# Installation -### Direct Download / CDN +### Téléchargement direct / CDN [https://unpkg.com/vue-router/dist/vue-router.js](https://unpkg.com/vue-router/dist/vue-router.js) -[Unpkg.com](https://unpkg.com) provides NPM-based CDN links. The above link will always point to the latest release on NPM. You can also use a specific version/tag via URLs like `https://unpkg.com/vue-router@2.0.0/dist/vue-router.js`. +[Unpkg.com](https://unpkg.com) met à disposition des liens CDN basés sur NPM. Le lien ci-dessus pointera toujours vers la dernière release publiée sur NPM. Vous pouvez également spécifier une certain-e version/tag via l'URL comme `https://unpkg.com/vue-router@2.0.0/dist/vue-router.js`. -Include `vue-router` after Vue and it will install itself automatically: +Inclure `vue-router` après Vue, et il s'installera automatiquement de lui-même : ``` html @@ -21,7 +21,7 @@ Include `vue-router` after Vue and it will install itself automatically: npm install vue-router ``` -When used with a module system, you must explicitly install the router via `Vue.use()`: +Lorsqu'il est utilisé avec un système de module, vous devez explicitement installer le router via `Vue.use()` : ``` js import Vue from 'vue' @@ -30,12 +30,11 @@ import VueRouter from 'vue-router' Vue.use(VueRouter) ``` -You don't need to do this when using global script tags. +Vous n'avez pas besoin de faire cela lors de l'utilisation des tags ` @@ -30,11 +30,11 @@ import VueRouter from 'vue-router' Vue.use(VueRouter) ``` -Vous n'avez pas besoin de faire cela lors de l'utilisation des tags `