Skip to content

Traduction de installation.md #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!--/email_off-->
**[Notes de release](https://github.com/vuejs/vue-router/releases)**

- [Installation (En)](installation.md)
- [Installation](installation.md)
- Essentiel
- [Pour commencer (En)](essentials/getting-started.md)
- [Dynamic Route Matching (En)](essentials/dynamic-matching.md)
Expand Down
17 changes: 8 additions & 9 deletions docs/en/installation.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Installation (En) <br><br> *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)

<!--email_off-->
[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/[email protected]/dist/vue-router.js`.
[Unpkg.com](https://unpkg.com) fournit des liens CDN basés sur NPM. Le lien ci-dessus pointera toujours vers la dernière release sur NPM. Vous pouvez aussi utiliser un tag ou une version spécifique via une URL comme `https://unpkg.com/[email protected]/dist/vue-router.js`.
<!--/email_off-->

Include `vue-router` after Vue and it will install itself automatically:
Incluez `vue-router` après Vue, et l'installation sera automatique :

``` html
<script src="/path/to/vue.js"></script>
Expand All @@ -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'
Expand All @@ -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 balises de script globales (`<script>`).

### Dev Build
### Build de développement

You will have to clone directly from GitHub and build `vue-router` yourself if
you want to use the latest dev build.
Vous aurez besoin de cloner directement `vue-router` depuis GitHub et le compiler vous-même si vous souhaitez utiliser le dernier build de développement.

``` bash
git clone https://github.com/vuejs/vue-router.git node_modules/vue-router
Expand Down