-
Notifications
You must be signed in to change notification settings - Fork 930
[Doc EN]: guide/configuration.md
review
#234
Changes from all commits
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,39 +1,39 @@ | ||
--- | ||
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: Nuxt.js is configured by default to cover most use cases. This default configuration can be overwritten by using the `nuxt.config.js` file. | ||
--- | ||
|
||
> Nuxt.js is configured by default to cover most use cases. This default configuration can be overwritten by using the nuxt.config.js file. | ||
> Nuxt.js is configured by default to cover most use cases. This default configuration can be overwritten by using the `nuxt.config.js` file. | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### 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. | ||
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. | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
[Documentation about build integration](/api/configuration-build) | ||
[Documentation about `build` integration](/api/configuration-build) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### cache | ||
|
||
This option lets you enable cached components for better render performances. | ||
|
||
[Documentation about cache integration](/api/configuration-cache) | ||
[Documentation about `cache` integration](/api/configuration-cache) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### css | ||
|
||
This option lets you define the CSS files/modules/libraries you want to set as globals (included in every page). | ||
|
||
[Documentation about css integration](/api/configuration-css) | ||
[Documentation about `css` integration](/api/configuration-css) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### dev | ||
|
||
This option lets you define the development or production mode of nuxt.js | ||
This option lets you define the `development` or `production` mode of Nuxt.js | ||
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. To separate content from code / path / filename / command / 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. Nuxt with capital as a product. |
||
|
||
[Documentation about dev integration](/api/configuration-dev) | ||
[Documentation about `dev` integration](/api/configuration-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. To separate content from code / path / filename / command / etc. |
||
|
||
### env | ||
|
||
This option lets you define environment variables available both the client and the server. | ||
|
||
[Documentation about env integration](/api/configuration-env) | ||
[Documentation about `env` integration](/api/configuration-env) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### generate | ||
|
||
|
@@ -51,40 +51,40 @@ This option lets you to define all default meta tags for your application. | |
|
||
This option lets you to customize the loading component which is loaded by default with Nuxt.js. | ||
|
||
[Documentation about loading integration](/api/configuration-loading) | ||
[Documentation about `loading` integration](/api/configuration-loading) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### modules | ||
|
||
This option lets you add nuxt modules to your project. | ||
This option lets you add Nuxt modules to your project. | ||
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. Nuxt with capital as a no-.js Product Name |
||
|
||
[Documentation about modules integration](/api/configuration-modules) | ||
[Documentation about `modules` integration](/api/configuration-modules) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### plugins | ||
|
||
This option lets you to define JavaScript plugins to be run before instantiating the root vue.js application. | ||
This option lets you to define JavaScript plugins to be run before instantiating the root Vue.js Application. | ||
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. More consistency with « Universal Vue.js Applications » |
||
|
||
[Documentation about plugins integration](/api/configuration-plugins) | ||
[Documentation about `plugins` integration](/api/configuration-plugins) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### rootDir | ||
|
||
This option lets you define the workspace of your nuxt.js application. | ||
This option lets you define the workspace of your Nuxt.js Application. | ||
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. More consistency with previous « Vue.js Application » |
||
|
||
[Documentation about rootDir integration](/api/configuration-rootdir) | ||
[Documentation about `rootDir` integration](/api/configuration-rootdir) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### router | ||
|
||
This option lets you to overwrite the default Nuxt.js configuration of vue-router. | ||
This option lets you to overwrite the default Nuxt.js configuration of Vue Router. | ||
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. Use the product name for Vue Router (not package name) for more conistency with Nuxt.js. |
||
|
||
[Documentation about router integration](/api/configuration-router) | ||
[Documentation about `router` integration](/api/configuration-router) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### srcDir | ||
|
||
This option lets you define the source directory of your nuxt.js application. | ||
This option lets you define the source directory of your Nuxt.js Application. | ||
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. Same as above. |
||
|
||
[Documentation about srcDir integration](/api/configuration-srcdir) | ||
[Documentation about `srcDir` integration](/api/configuration-srcdir) | ||
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. To separate content from code / path / filename / command / etc. |
||
|
||
### transition | ||
|
||
This option lets you define the default properties of the page transitions. | ||
|
||
[Documentation about transition integration](/api/configuration-transition) | ||
[Documentation about `transition` integration](/api/configuration-transition) | ||
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. To separate content from code / path / filename / command / etc. |
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.
To separate content from code / path / filename / command / etc.