Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

[Doc EN]: guide/configuration.md review #234

Merged
merged 1 commit into from
Sep 22, 2017
Merged
Changes from all 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
42 changes: 21 additions & 21 deletions en/guide/configuration.md
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.
Copy link
Contributor Author

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.

---

> 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.
Copy link
Contributor Author

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.


### 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.
Copy link
Contributor Author

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.


[Documentation about build integration](/api/configuration-build)
[Documentation about `build` integration](/api/configuration-build)
Copy link
Contributor Author

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.


### 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)
Copy link
Contributor Author

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.


### 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)
Copy link
Contributor Author

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.


### 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
Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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)
Copy link
Contributor Author

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.


### 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)
Copy link
Contributor Author

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.


### generate

Expand All @@ -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)
Copy link
Contributor Author

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.


### modules

This option lets you add nuxt modules to your project.
This option lets you add Nuxt modules to your project.
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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)
Copy link
Contributor Author

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.


### 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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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)
Copy link
Contributor Author

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.


### 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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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)
Copy link
Contributor Author

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.


### 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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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)
Copy link
Contributor Author

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.


### 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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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)
Copy link
Contributor Author

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.


### 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)
Copy link
Contributor Author

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.