diff --git a/content/en/deployments/github-pages.md b/content/en/deployments/github-pages.md index ee61ead7a0..6a9df30162 100644 --- a/content/en/deployments/github-pages.md +++ b/content/en/deployments/github-pages.md @@ -68,7 +68,7 @@ First install it: ::code-group ```bash [Yarn] -yarn add -D push-dir +yarn add --dev push-dir ``` ```bash [NPM] npm install push-dir --save-dev diff --git a/content/en/docs/3.features/6.configuration.md b/content/en/docs/3.features/6.configuration.md index 9dff86ae69..9ee3b8a1b7 100644 --- a/content/en/docs/3.features/6.configuration.md +++ b/content/en/docs/3.features/6.configuration.md @@ -77,8 +77,8 @@ To use these pre-processors, we need to install their webpack loaders: ::code-group ```bash [Yarn] -yarn add -D pug pug-plain-loader -yarn add -D sass sass-loader@10 +yarn add --dev pug pug-plain-loader +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] npm install --save-dev pug pug-plain-loader diff --git a/content/en/docs/4.directory-structure/2.assets.md b/content/en/docs/4.directory-structure/2.assets.md index 0feb0e3e8f..6f3f0f954f 100644 --- a/content/en/docs/4.directory-structure/2.assets.md +++ b/content/en/docs/4.directory-structure/2.assets.md @@ -62,17 +62,13 @@ In case you want to use `sass` make sure that you have installed `sass` and ::code-group ```bash [Yarn] -yarn add -D sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -Synchronous compilation with `sass` (2x speed increase) [is enabled automatically](https://github.com/webpack-contrib/sass-loader) when `fibers` is installed. -:: - Nuxt will automatically guess the file type by its extension and use the appropriate pre-processor loader for webpack. You will still need to install the required loader if you need to use them. ## Fonts diff --git a/content/en/docs/4.directory-structure/8.modules.md b/content/en/docs/4.directory-structure/8.modules.md index 96ebcef20f..0d518ce592 100644 --- a/content/en/docs/4.directory-structure/8.modules.md +++ b/content/en/docs/4.directory-structure/8.modules.md @@ -365,7 +365,7 @@ export default { ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/eslint-module +yarn add --dev @nuxtjs/eslint-module ``` ```bash [NPM] npm install --save-dev @nuxtjs/eslint-module diff --git a/content/en/tutorials/3.going-dark-with-nuxtjs-color-mode.md b/content/en/tutorials/3.going-dark-with-nuxtjs-color-mode.md index 5e6593b344..dd895214ba 100644 --- a/content/en/tutorials/3.going-dark-with-nuxtjs-color-mode.md +++ b/content/en/tutorials/3.going-dark-with-nuxtjs-color-mode.md @@ -68,7 +68,7 @@ First of all you need to install the module as a dependency to your Nuxt project ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/color-mode +yarn add --dev @nuxtjs/color-mode ``` ```bash [NPM] npm install --save-dev @nuxtjs/color-mode diff --git a/content/es/docs/3.features/6.configuration.md b/content/es/docs/3.features/6.configuration.md index 9dff86ae69..9ee3b8a1b7 100644 --- a/content/es/docs/3.features/6.configuration.md +++ b/content/es/docs/3.features/6.configuration.md @@ -77,8 +77,8 @@ To use these pre-processors, we need to install their webpack loaders: ::code-group ```bash [Yarn] -yarn add -D pug pug-plain-loader -yarn add -D sass sass-loader@10 +yarn add --dev pug pug-plain-loader +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] npm install --save-dev pug pug-plain-loader diff --git a/content/es/docs/4.directory-structure/2.assets.md b/content/es/docs/4.directory-structure/2.assets.md index 0feb0e3e8f..6f3f0f954f 100644 --- a/content/es/docs/4.directory-structure/2.assets.md +++ b/content/es/docs/4.directory-structure/2.assets.md @@ -62,17 +62,13 @@ In case you want to use `sass` make sure that you have installed `sass` and ::code-group ```bash [Yarn] -yarn add -D sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -Synchronous compilation with `sass` (2x speed increase) [is enabled automatically](https://github.com/webpack-contrib/sass-loader) when `fibers` is installed. -:: - Nuxt will automatically guess the file type by its extension and use the appropriate pre-processor loader for webpack. You will still need to install the required loader if you need to use them. ## Fonts diff --git a/content/es/docs/4.directory-structure/8.modules.md b/content/es/docs/4.directory-structure/8.modules.md index 96ebcef20f..0d518ce592 100644 --- a/content/es/docs/4.directory-structure/8.modules.md +++ b/content/es/docs/4.directory-structure/8.modules.md @@ -365,7 +365,7 @@ export default { ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/eslint-module +yarn add --dev @nuxtjs/eslint-module ``` ```bash [NPM] npm install --save-dev @nuxtjs/eslint-module diff --git a/content/es/docs/5.configuration-glossary/5.configuration-css.md b/content/es/docs/5.configuration-glossary/5.configuration-css.md index f109362df9..25b285e4ef 100644 --- a/content/es/docs/5.configuration-glossary/5.configuration-css.md +++ b/content/es/docs/5.configuration-glossary/5.configuration-css.md @@ -15,17 +15,13 @@ In case you want to use `sass` make sure that you have installed `sass` and `sas ::code-group ```sh [Yarn] -yarn add --dev sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```sh [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -Synchronous compilation with `sass` (2x speed increase) [is enabled automatically](https://github.com/webpack-contrib/sass-loader) when `fibers` is installed. -:: - - Type: `Array` - Items: `string` diff --git a/content/es/tutorials/3.going-dark-with-nuxtjs-color-mode.md b/content/es/tutorials/3.going-dark-with-nuxtjs-color-mode.md index 5e6593b344..dd895214ba 100644 --- a/content/es/tutorials/3.going-dark-with-nuxtjs-color-mode.md +++ b/content/es/tutorials/3.going-dark-with-nuxtjs-color-mode.md @@ -68,7 +68,7 @@ First of all you need to install the module as a dependency to your Nuxt project ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/color-mode +yarn add --dev @nuxtjs/color-mode ``` ```bash [NPM] npm install --save-dev @nuxtjs/color-mode diff --git a/content/fr/docs/3.features/6.configuration.md b/content/fr/docs/3.features/6.configuration.md index 086dd8a0cf..d4dd089647 100644 --- a/content/fr/docs/3.features/6.configuration.md +++ b/content/fr/docs/3.features/6.configuration.md @@ -76,8 +76,8 @@ Pour utiliser ces pré-processeurs, nous avons besoin d'installer leurs loaders ::code-group ```bash [Yarn] -yarn add -D pug pug-plain-loader -yarn add -D sass sass-loader@10 +yarn add --dev pug pug-plain-loader +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] npm install --save-dev pug pug-plain-loader diff --git a/content/fr/docs/4.directory-structure/2.assets.md b/content/fr/docs/4.directory-structure/2.assets.md index f3e4601e2a..9aa18bfc5b 100644 --- a/content/fr/docs/4.directory-structure/2.assets.md +++ b/content/fr/docs/4.directory-structure/2.assets.md @@ -63,15 +63,12 @@ Dans le cas où l'on veut utiliser `SASS`, il faut bien faire attention à insta :: ::code-group - ```bash [Yarn] -yarn add -D sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` - ```bash [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` - :: Nuxt va automatiquement deviner le type de fichier grâce à son extension et utiliser le loader webpack approprié pour le pré-processeur. Nous aurons cependant besoin d'installer le loader requis si nous avons besoin de l'utiliser. diff --git a/content/fr/docs/4.directory-structure/8.modules.md b/content/fr/docs/4.directory-structure/8.modules.md index cd41405a3f..d385d612c1 100644 --- a/content/fr/docs/4.directory-structure/8.modules.md +++ b/content/fr/docs/4.directory-structure/8.modules.md @@ -368,7 +368,7 @@ export default { ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/eslint-module +yarn add --dev @nuxtjs/eslint-module ``` ```bash [NPM] diff --git a/content/fr/docs/5.configuration-glossary/5.configuration-css.md b/content/fr/docs/5.configuration-glossary/5.configuration-css.md index f896c850a9..d44913cb38 100644 --- a/content/fr/docs/5.configuration-glossary/5.configuration-css.md +++ b/content/fr/docs/5.configuration-glossary/5.configuration-css.md @@ -15,17 +15,13 @@ Si on veut utiliser `SASS`, il faut bien faire attention à avoir les packages ` ::code-group ```sh [Yarn] -yarn add --dev sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```sh [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -Compilation synchrone avec `sass` (augmentation de la vitesse 2x) [est activée automatiquement] (https://github.com/webpack-contrib/sass-loader) lorsque `fibers` est installé. -:: - - Type: `Array` - Items: `string` diff --git a/content/fr/tutorials/3.going-dark-with-nuxtjs-color-mode.md b/content/fr/tutorials/3.going-dark-with-nuxtjs-color-mode.md index 5e6593b344..dd895214ba 100644 --- a/content/fr/tutorials/3.going-dark-with-nuxtjs-color-mode.md +++ b/content/fr/tutorials/3.going-dark-with-nuxtjs-color-mode.md @@ -68,7 +68,7 @@ First of all you need to install the module as a dependency to your Nuxt project ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/color-mode +yarn add --dev @nuxtjs/color-mode ``` ```bash [NPM] npm install --save-dev @nuxtjs/color-mode diff --git a/content/ja/docs/3.features/6.configuration.md b/content/ja/docs/3.features/6.configuration.md index 294d21f979..d3f63d9f3c 100644 --- a/content/ja/docs/3.features/6.configuration.md +++ b/content/ja/docs/3.features/6.configuration.md @@ -77,8 +77,8 @@ export default { ::code-group ```bash [Yarn] -yarn add -D pug pug-plain-loader -yarn add -D sass sass-loader@10 +yarn add --dev pug pug-plain-loader +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] npm install --save-dev pug pug-plain-loader diff --git a/content/ja/docs/4.directory-structure/2.assets.md b/content/ja/docs/4.directory-structure/2.assets.md index 4ececb8a6a..074b5e4243 100644 --- a/content/ja/docs/4.directory-structure/2.assets.md +++ b/content/ja/docs/4.directory-structure/2.assets.md @@ -62,17 +62,13 @@ export default { ::code-group ```bash [Yarn] -yarn add -D sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -`fibers` がインストールされている場合、 `sass` の同期コンパイル(2 倍速)が [自動的に有効になります](https://github.com/webpack-contrib/sass-loader)。 -:: - Nuxt は拡張子からファイルの種類を自動的に推測して webpack に適したプリプロセッサローダーを使用します。それでも必要な場合は、必要なローダーをインストールする必要があります。 ## フォント diff --git a/content/ja/docs/4.directory-structure/8.modules.md b/content/ja/docs/4.directory-structure/8.modules.md index 0416098d51..23e482f81f 100644 --- a/content/ja/docs/4.directory-structure/8.modules.md +++ b/content/ja/docs/4.directory-structure/8.modules.md @@ -366,7 +366,7 @@ export default { ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/eslint-module +yarn add --dev @nuxtjs/eslint-module ``` ```bash [NPM] npm install --save-dev @nuxtjs/eslint-module diff --git a/content/ja/docs/5.configuration-glossary/5.configuration-css.md b/content/ja/docs/5.configuration-glossary/5.configuration-css.md index 51fb601cc0..72968077c6 100644 --- a/content/ja/docs/5.configuration-glossary/5.configuration-css.md +++ b/content/ja/docs/5.configuration-glossary/5.configuration-css.md @@ -15,17 +15,13 @@ Nuxt ではグローバルに適用したい(すべてのページにインク ::code-group ```sh [Yarn] -yarn add --dev sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```sh [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -`fibers` がインストールされている場合、 `sass` の同期コンパイル(2 倍速)が [自動的に有効になります](https://github.com/webpack-contrib/sass-loader)。 -:: - - 型: `Array` - 要素: `string` diff --git a/content/ja/tutorials/3.going-dark-with-nuxtjs-color-mode.md b/content/ja/tutorials/3.going-dark-with-nuxtjs-color-mode.md index 5e6593b344..dd895214ba 100644 --- a/content/ja/tutorials/3.going-dark-with-nuxtjs-color-mode.md +++ b/content/ja/tutorials/3.going-dark-with-nuxtjs-color-mode.md @@ -68,7 +68,7 @@ First of all you need to install the module as a dependency to your Nuxt project ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/color-mode +yarn add --dev @nuxtjs/color-mode ``` ```bash [NPM] npm install --save-dev @nuxtjs/color-mode diff --git a/content/pt/docs/3.features/6.configuration.md b/content/pt/docs/3.features/6.configuration.md index 9dff86ae69..9ee3b8a1b7 100644 --- a/content/pt/docs/3.features/6.configuration.md +++ b/content/pt/docs/3.features/6.configuration.md @@ -77,8 +77,8 @@ To use these pre-processors, we need to install their webpack loaders: ::code-group ```bash [Yarn] -yarn add -D pug pug-plain-loader -yarn add -D sass sass-loader@10 +yarn add --dev pug pug-plain-loader +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] npm install --save-dev pug pug-plain-loader diff --git a/content/pt/docs/4.directory-structure/2.assets.md b/content/pt/docs/4.directory-structure/2.assets.md index 0feb0e3e8f..6f3f0f954f 100644 --- a/content/pt/docs/4.directory-structure/2.assets.md +++ b/content/pt/docs/4.directory-structure/2.assets.md @@ -62,17 +62,13 @@ In case you want to use `sass` make sure that you have installed `sass` and ::code-group ```bash [Yarn] -yarn add -D sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```bash [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -Synchronous compilation with `sass` (2x speed increase) [is enabled automatically](https://github.com/webpack-contrib/sass-loader) when `fibers` is installed. -:: - Nuxt will automatically guess the file type by its extension and use the appropriate pre-processor loader for webpack. You will still need to install the required loader if you need to use them. ## Fonts diff --git a/content/pt/docs/4.directory-structure/8.modules.md b/content/pt/docs/4.directory-structure/8.modules.md index 96ebcef20f..0d518ce592 100644 --- a/content/pt/docs/4.directory-structure/8.modules.md +++ b/content/pt/docs/4.directory-structure/8.modules.md @@ -365,7 +365,7 @@ export default { ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/eslint-module +yarn add --dev @nuxtjs/eslint-module ``` ```bash [NPM] npm install --save-dev @nuxtjs/eslint-module diff --git a/content/pt/docs/5.configuration-glossary/5.configuration-css.md b/content/pt/docs/5.configuration-glossary/5.configuration-css.md index f109362df9..25b285e4ef 100644 --- a/content/pt/docs/5.configuration-glossary/5.configuration-css.md +++ b/content/pt/docs/5.configuration-glossary/5.configuration-css.md @@ -15,17 +15,13 @@ In case you want to use `sass` make sure that you have installed `sass` and `sas ::code-group ```sh [Yarn] -yarn add --dev sass sass-loader@10 fibers +yarn add --dev sass sass-loader@10 ``` ```sh [NPM] -npm install --save-dev sass sass-loader@10 fibers +npm install --save-dev sass sass-loader@10 ``` :: -::alert{type="info"} -Synchronous compilation with `sass` (2x speed increase) [is enabled automatically](https://github.com/webpack-contrib/sass-loader) when `fibers` is installed. -:: - - Type: `Array` - Items: `string` diff --git a/content/pt/tutorials/3.going-dark-with-nuxtjs-color-mode.md b/content/pt/tutorials/3.going-dark-with-nuxtjs-color-mode.md index 5e6593b344..dd895214ba 100644 --- a/content/pt/tutorials/3.going-dark-with-nuxtjs-color-mode.md +++ b/content/pt/tutorials/3.going-dark-with-nuxtjs-color-mode.md @@ -68,7 +68,7 @@ First of all you need to install the module as a dependency to your Nuxt project ::code-group ```bash [Yarn] -yarn add -D @nuxtjs/color-mode +yarn add --dev @nuxtjs/color-mode ``` ```bash [NPM] npm install --save-dev @nuxtjs/color-mode