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 3 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) 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/[email protected]/dist/vue-router.js`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aligner cette traduction avec l'installation de Vuex (notamment pour version/tag) qui a été décomposé, je trouve ça plus courent en français :

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixé dans 1d922bd.

<!--/email_off-->

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 :
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aligner avec vuex

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je propose celle de Vuex qui est moins littérale mais plus fluide (pas de , pas d’auto référence)

Incluez vuex après Vue et l'installation sera automatique :

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixé dans 1d922bd.


``` 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 tags `<script>`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pour aligner Vuex et Vue Router

Vous n'avez pas besoin de faire cela lors de l'utilisation des balises de script globales (<script>).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixé dans 1d922bd.


### 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 construire vous-même si vous souhaitez utiliser la dernière dev build.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je propose pour aligner Vuex et Vue Roteur

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixé dans 1d922bd.


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