-
Notifications
You must be signed in to change notification settings - Fork 11
Relecture de configuration.md
#10
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
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,90 @@ | ||
--- | ||
title: Configuration | ||
description: Nuxt.js is configured by default to cover most use cases. This default configuration can be overwritten by using the nuxt.config.js file. | ||
description: La configuration par défaut de Nuxt.js couvre la plupart des cas d'usage. Cependant, le fichier `nuxt.config.js` vous permet de la modifier. | ||
--- | ||
|
||
> Nuxt.js is configured by default to cover most use cases. This default configuration can be overwritten by using the nuxt.config.js file. | ||
> La configuration par défaut de Nuxt.js couvre la plupart des cas d'usage. Cependant, le fichier `nuxt.config.js` vous permet de la modifier. | ||
|
||
### build | ||
|
||
This option lets you add modules inside the vendor.bundle.js file to reduce the size of the application bundle. This is especially helpful when using external modules. | ||
Cette option vous permet d'ajouter des modules à l'intérieur du fichier `vendor.bundle.js` généré pour réduire la taille du paquetage de l'application. Vraiment utile lors de l'utilisation de modules externes. | ||
|
||
[Documentation about build integration](/api/configuration-build) | ||
[Consultez la documentation à propos de `build`](/api/configuration-build) | ||
|
||
### cache | ||
|
||
This option lets you enable cached components for better render performances. | ||
Cette option vous permet de mettre en cache les composants pour améliorer les performances de rendu. | ||
|
||
[Documentation about cache integration](/api/configuration-cache) | ||
[Consultez la documentation à propos de `cache`](/api/configuration-cache) | ||
|
||
### css | ||
|
||
This option lets you define the CSS files/modules/libraries you want to set as globals (included in every page). | ||
Cette option vous permet de définir les fichiers / modules / bibliothèques CSS que vous voulez en global (inclus dans chaque page). | ||
|
||
[Documentation about css integration](/api/configuration-css) | ||
[Consultez la documentation à propos de `css`](/api/configuration-css) | ||
|
||
### dev | ||
|
||
This option lets you define the development or production mode of nuxt.js | ||
Cette option vous permet de définir le mode `development` ou le mode `production` de Nuxt.js. | ||
|
||
[Documentation about dev integration](/api/configuration-dev) | ||
[Consultez la documentation à propos de `dev`](/api/configuration-dev) | ||
|
||
### env | ||
|
||
This option lets you define environment variables available both the client and the server. | ||
Cette option vous permet de définir des variables d'environnements disponible côté client et côté serveur. | ||
|
||
[Documentation about env integration](/api/configuration-env) | ||
[Consultez la documentation à propos de `env`](/api/configuration-env) | ||
|
||
### generate | ||
|
||
This option lets you to define each parameters value for every dynamic route in your application to be transformed into HTML files by Nuxt.js. | ||
Cette option vous permet de définir chaque paramètre pour chaque route dynamique de votre application transformée en fichiers HTML par Nuxt.js. | ||
|
||
[Documentation about generate integration](/api/configuration-generate) | ||
[Consultez la documentation à propos de `generate`](/api/configuration-generate) | ||
|
||
### head | ||
|
||
This option lets you to define all default meta tags for your application. | ||
Cette option vous permet de définir les balises meta par défaut de votre application. | ||
|
||
[Documentation about head integration](/api/configuration-head) | ||
[Consultez la documentation à propos de `head`](/api/configuration-head) | ||
|
||
### loading | ||
|
||
This option lets you to customize the loading component which is loaded by default with Nuxt.js. | ||
Cette option vous permet de personnaliser le composant de chargement par défaut chargé par Nuxt.js | ||
|
||
[Documentation about loading integration](/api/configuration-loading) | ||
[Consultez la documentation à propos de `loading`](/api/configuration-loading) | ||
|
||
### modules | ||
|
||
This option lets you add nuxt modules to your project. | ||
Cette option vous permet d'ajouter des modules Nuxt a votre projet. | ||
|
||
[Documentation about modules integration](/api/configuration-modules) | ||
[Consultez la documentation à propos de `modules`](/api/configuration-modules) | ||
|
||
### plugins | ||
|
||
This option lets you to define JavaScript plugins to be run before instantiating the root vue.js application. | ||
Cette option vous permet de définir des plugins JavaScript qui seront exécutés avant d'instancier la racine de l'application Vue.js. | ||
|
||
[Documentation about plugins integration](/api/configuration-plugins) | ||
[Consultez la documentation à propos de `plugins`](/api/configuration-plugins) | ||
|
||
### rootDir | ||
|
||
This option lets you define the workspace of your nuxt.js application. | ||
Cette option vous permet de définir l'espace de travail de votre application Nuxt.js. | ||
|
||
[Documentation about rootDir integration](/api/configuration-rootdir) | ||
[Consultez la documentation à propos de `rootDir`](/api/configuration-rootdir) | ||
|
||
### router | ||
|
||
This option lets you to overwrite the default Nuxt.js configuration of vue-router. | ||
Cette option vous permet de modifier la configuration Nuxt.js par défaut de Vue Router. | ||
|
||
[Documentation about router integration](/api/configuration-router) | ||
[Consultez la documentation à propos de `router`](/api/configuration-router) | ||
|
||
### srcDir | ||
|
||
This option lets you define the source directory of your nuxt.js application. | ||
Cette option vous permet de définir le dossier source de votre application Nuxt.js. | ||
|
||
[Documentation about srcDir integration](/api/configuration-srcdir) | ||
[Consultez la documentation à propos de `srcDir`](/api/configuration-srcdir) | ||
|
||
### transition | ||
|
||
This option lets you define the default properties of the page transitions. | ||
Cette option vous permet de définir les propriétés par défaut des transitions de pages. | ||
|
||
[Documentation about transition integration](/api/configuration-transition) | ||
[Consultez la documentation à propos de `transition`](/api/configuration-transition) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
J'écrirais "disponible" avec un 's' dans ce contexte.
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.
Bien vu. J'ajoute !
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.
Voilà : 8f0f2ad
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.
Top :)