-
Notifications
You must be signed in to change notification settings - Fork 11
Traduction de configuration-build.md
#31
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
Conversation
Signed-off-by: Bruno Lesieur <[email protected]>
en/api/configuration-build.md
Outdated
- Type: `boolean` | ||
- Default: `true` for dev and `false` for production. | ||
- Type : `boolean` | ||
- Par défault : `true` en développement et `false` en production. |
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.
"Par défaut"
en/api/configuration-build.md
Outdated
|
||
> Customize bundle filenames | ||
- Type : `Object` | ||
- Par défault : |
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.
"Par défaut"
en/api/configuration-build.md
Outdated
`extend` est appelé deux fois, une fois pour le paquetage serveur et une fois pour le paquetage client. Les arguments de la méthode sont : | ||
|
||
1. l'objet de configuration webpack, | ||
2. un object avec les propriétés suivantes (toutes booléenes): `dev`, `isClient`, `isServer`. |
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.
"un objet"
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.
"booléennes" non?
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.
@haeresis t'as oublié le "un objet", dans le point 2
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.
Ah, j'avais pas compris, j'avais changé la première ligne.
en/api/configuration-build.md
Outdated
Using extract-text-webpack-plugin to extract the CSS in the main chunk into a separate CSS file (auto injected with template), | ||
which allows the file to be individually cached. This is recommended when there is a lot of shared CSS. | ||
CSS inside async components will remain inlined as JavaScript strings and handled by vue-style-loader. | ||
Utiliser `extract-text-webpack-plugin` pour extraire le CSS du fragment principale dans un fichier CSS séparé (injection automatique avec template), permet au fichier d'être mis en cache de manière individuel. Cela est recommandé quand il y a beaucoup de fichier CSS partagés. Les fichiers CSS à l'intérieur des composants asynchrones vont restés en place en tant que chaines de caractères JavaScript et prise en charge par `vue-style-loader`. |
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.
"fragment principal"
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.
"beaucoup de fichiers"
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.
"vont rester"
en/api/configuration-build.md
Outdated
**NOTE:** While default preset is OK and flexible enough for normal use cases, the recommended | ||
usage by [vue-loader](https://vue-loader.vuejs.org/en/options.html#postcss) is using `postcss.config.js` file in your project. | ||
By creating that file it will be automatically detected and this option is ignored. | ||
**Note :** alors que l'usage par défaut est OK et assez flexible pour des cas d'utilisations normaux, l'utilisation recommandée par [`vue-loader`](https://vue-loader.vuejs.org/en/options.html#postcss) est d'uitiliser un fichier `postcss.config.js` dans votre projet. En créant ce fichier, il sera automatiquement détecté et les options seront ignorées. |
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.
"est d'utiliser"
en/api/configuration-build.md
Outdated
- Type : `Boolean` | ||
- Par défaut : `true` for universal mode and `false` for spa mode | ||
|
||
Cette option est automatiquement créer en se basant sur la valeur de `mode` si elle n'est pas fournie. |
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.
"créée"
en/api/configuration-build.md
Outdated
|
||
> Nuxt.js allows you provide your own templates which will be rendered based on nuxt configuration | ||
This feature is specially useful for using with [modules](/guide/modules). | ||
> Nuxt.js vous permet de fournir vos propres templates qui seront rendu en ce basant sur la configuration de Nuxt. Cette fonctionnalité est particulièrement utile quand utilisé avec [modules](/guide/modules). |
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.
"seront rendus"
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.
"en se basant"
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.
"quand utilisée"
en/api/configuration-build.md
Outdated
@@ -264,17 +266,15 @@ module.exports = { | |||
} | |||
``` | |||
|
|||
Templates are rendered using [lodash.template](https://lodash.com/docs/#template) | |||
you can learn more about using them [here](https://github.com/learn-co-students/javascript-lodash-templates-v-000). | |||
Les templates sont rendu en utilisant [`lodash.template`](https://lodash.com/docs/#template). Vous pouvez en apprendre plus à propos de leur utilisation [ici](https://github.com/learn-co-students/javascript-lodash-templates-v-000). |
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.
"sont rendus"
Signed-off-by: Bruno Lesieur <[email protected]>
Signed-off-by: Bruno Lesieur <[email protected]>
Début de la dernière étape, la configuration Nuxt. J'ai été assez vite, il y a p-e un peu plus de fautes que d'habitude.