-
Notifications
You must be signed in to change notification settings - Fork 1
Traduction installation.md
#4
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# Installation | ||
|
||
### Direct Download / CDN | ||
### Téléchargement direct / CDN | ||
|
||
[https://unpkg.com/vuex](https://unpkg.com/vuex) | ||
|
||
<!--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]`. | ||
[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 comme `https://unpkg.com/[email protected]`. | ||
<!--/email_off--> | ||
|
||
Include `vuex` after Vue and it will install itself automatically: | ||
Incluez `vuex` après Vue et l'installation sera automatique : | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
``` html | ||
<script src="/path/to/vue.js"></script> | ||
|
@@ -27,7 +27,7 @@ npm install vuex --save | |
yarn add vuex | ||
``` | ||
|
||
When used with a module system, you must explicitly install Vuex via `Vue.use()`: | ||
Lorsque vous utilisez un système de modules, vous devez explicitement installer le router via `Vue.use()`: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Conserver la troisième personne au début
Routeur à changer par Vuex |
||
|
||
``` js | ||
import Vue from 'vue' | ||
|
@@ -36,12 +36,12 @@ import Vuex from 'vuex' | |
Vue.use(Vuex) | ||
``` | ||
|
||
You don't need to do this when using global script tags. | ||
Il n'est pas nécessaire de faire ceci lorsque vous utilisez des balises de script globales. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pour être au plus juste je propose de garder la personne
|
||
|
||
### Dev Build | ||
### Environnement de dev | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nous ne concevrons généralement pas les raccourcis Et pour garder une consistance avec vue-router
(explication de pourquoi build) plus loin. |
||
|
||
You will have to clone directly from GitHub and build `vuex` yourself if | ||
you want to use the latest dev build. | ||
Vous devrez cloner directement depuis GitHub et compiler `vuex` vous-même si | ||
vous souhaitez utiliser la dernière version de dev. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Que penses-tu de
? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Il me semble que c'est ce qui a été utilisé pour vue-routeur ? Sinon au mieux c'est build de développement dans le sens ou c'est un terme autorisé en temps que tel et déjà utilisé ultérieurement. (Un gros travail sur toutes les occurences de build et leur traduction sera surement à faire dans le futur. Éventuellement garder build nous permettra de rapidement le repérer dans la liste des « build » à traduire (compilation, version, package, construire, compiler, environnement, etc.). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suite à la review de vue-router installation, je pense qu'aligner les deux de la sorte serait correcte
|
||
|
||
``` bash | ||
git clone https://github.com/vuejs/vuex.git node_modules/vuex | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alignement avec vue-router (ajout de via une URL)