Skip to content

Commit aaf724d

Browse files
Jinjiangkazupon
authored andcommitted
[docs] postcss -> PostCSS & some formattings (#1098)
1 parent 192428c commit aaf724d

File tree

16 files changed

+37
-37
lines changed

16 files changed

+37
-37
lines changed

docs/en/configurations/advanced.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ module.exports = {
2525
loader: 'vue-loader',
2626
options: {
2727
// `loaders` will overwrite the default loaders.
28-
// The following config will cause all <script> tags without "lang"
29-
// attribute to be loaded with coffee-loader
28+
// The following config will cause all `<script>` tags without `lang`
29+
// attribute to be loaded with `coffee-loader`
3030
loaders: {
3131
js: 'coffee-loader'
3232
},
@@ -43,8 +43,8 @@ module.exports = {
4343
// - For `html`, the result returned by the default loader
4444
// will be compiled JavaScript render function code.
4545
//
46-
// - For `css`, the result will be returned by vue-style-loader
47-
// which isn't particularly useful in most cases. Using a postcss
46+
// - For `css`, the result will be returned by `vue-style-loader`
47+
// which isn't particularly useful in most cases. Using a PostCSS
4848
// plugin will be a better option.
4949
postLoaders: {
5050
html: 'babel-loader'

docs/en/features/postcss.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Sometimes the user may want to use `lang="postcss"` only for syntax highlighting
2525

2626
## Inline Options
2727

28-
Alternatively, you can specify postcss config specifically for `*.vue` files using the `postcss` option for `vue-loader`.
28+
Alternatively, you can specify PostCSS config specifically for `*.vue` files using the `postcss` option for `vue-loader`.
2929

3030
Example usage in webpack 1.x:
3131

@@ -34,7 +34,7 @@ Example usage in webpack 1.x:
3434
module.exports = {
3535
// other configs...
3636
vue: {
37-
// use custom postcss plugins
37+
// use custom PostCSS plugins
3838
postcss: [require('postcss-cssnext')()]
3939
}
4040
}
@@ -80,7 +80,7 @@ In addition to providing an Array of plugins, the `postcss` option also accepts:
8080

8181
### Disabling Auto Config File Loading
8282

83-
In `13.6.0+`, auto postcss config file loading can be disabled by specifying `postcss.useConfigFile: false`:
83+
In `13.6.0+`, auto PostCSS config file loading can be disabled by specifying `postcss.useConfigFile: false`:
8484

8585
``` js
8686
postcss: {
@@ -90,4 +90,4 @@ postcss: {
9090
}
9191
```
9292

93-
This allows the postcss configuration inside `*.vue` files to be entirely controlled by the inline config.
93+
This allows the PostCSS configuration inside `*.vue` files to be entirely controlled by the inline config.

docs/en/options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = {
7777

7878
- For `html`, the result returned by the default loader will be compiled JavaScript render function code.
7979

80-
- For `css`, the result will be returned by `vue-style-loader` which isn't particularly useful in most cases. Using a postcss plugin will be a better option.
80+
- For `css`, the result will be returned by `vue-style-loader` which isn't particularly useful in most cases. Using a PostCSS plugin will be a better option.
8181

8282
### postcss
8383

@@ -144,7 +144,7 @@ module.exports = {
144144
- type: `boolean`
145145
- default: `true`
146146

147-
Set this to `false` to disable auto-loading of postcss config files.
147+
Set this to `false` to disable auto-loading of PostCSS config files.
148148

149149
### cssSourceMap
150150

docs/ja/configurations/advanced.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ module.exports = {
2323
loader: 'vue-loader',
2424
options: {
2525
// `loaders` はデフォルトの loaderを上書きします。
26-
// 次の設定では、"lang" 属性のない全ての <script> タグに
27-
// coffee-loader が適用されます。
26+
// 次の設定では、`lang` 属性のない全ての `<script>` タグに
27+
// `coffee-loader` が適用されます。
2828
loaders: {
2929
js: 'coffee-loader'
3030
},
@@ -41,9 +41,9 @@ module.exports = {
4141
// - `html` の場合、デフォルトの loader によって返される結果は、
4242
// コンパイルされた JavaScript レンダリング関数コードになります。
4343
//
44-
// - `css` の場合、結果は vue-style-loader によって返されます。
44+
// - `css` の場合、結果は `vue-style-loader` によって返されます。
4545
// しかしこれはほとんどの場合特に有用ではありません。
46-
// postcss プラグインを使用する方が良い選択になります。
46+
// PostCSS プラグインを使用する方が良い選択になります。
4747
postLoaders: {
4848
html: 'babel-loader'
4949
},

docs/ja/features/postcss.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## インラインオプション
1616

17-
あるいは、 `vue-loader``postcss` オプションを使用して `*.vue` ファイル用の postcss の設定を指定することが出来ます。
17+
あるいは、 `vue-loader``postcss` オプションを使用して `*.vue` ファイル用の PostCSS の設定を指定することが出来ます。
1818

1919
webpack 1.x の例:
2020

@@ -23,7 +23,7 @@ webpack 1.x の例:
2323
module.exports = {
2424
// 他の設定
2525
vue: {
26-
// カスタムされた postcss プラグインを使用します
26+
// カスタムされた PostCSS プラグインを使用します
2727
postcss: [require('postcss-cssnext')()]
2828
}
2929
}

docs/ja/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module.exports = {
7676
config 形式は `loaders` と同じですが、` postLoaders` はデフォルト loader の後に適用されます。これを使用して言語ブロックを後処理することができます。ただしこれは少し複雑になります:
7777

7878
- `html` の場合、デフォルトの loader によって返される結果は、コンパイルされた JavaScript レンダリング関数コードになります。
79-
- `css` の場合、結果は` vue-style-loader` によって返されます。これはほとんどの場合特に有用ではありません。postcss プラグインを使用する方が良いでしょう。
79+
- `css` の場合、結果は` vue-style-loader` によって返されます。これはほとんどの場合特に有用ではありません。PostCSS プラグインを使用する方が良いでしょう。
8080

8181
### postcss
8282

docs/kr/configurations/advanced.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ module.exports = {
2525
loader: 'vue-loader',
2626
options: {
2727
// `loaders`는 기본 로더를 덮어씁니다.
28-
// 다음 설정은 "lang" 속성이 없는
29-
// 모든 <script> 태그가 coffee 로더와 함께 로드되도록 합니다
28+
// 다음 설정은 `lang` 속성이 없는
29+
// 모든 `<script>` 태그가 coffee 로더와 함께 로드되도록 합니다
3030
loaders: {
3131
js: 'coffee-loader'
3232
},
@@ -42,7 +42,7 @@ module.exports = {
4242
// - `html`의 경우, 기본 로더의 결과는 컴파일 된 JavaScript 렌더링 함수 코드가 됩니다.
4343

4444
// - `css`의 경우, 결과는 `vue-style-loader`가 반환하고
45-
// 대부분의 경우 별로 사용할 일은 없습니다. postcss 플러그인을 사용하는 것이 더 좋습니다.
45+
// 대부분의 경우 별로 사용할 일은 없습니다. PostCSS 플러그인을 사용하는 것이 더 좋습니다.
4646
postLoaders: {
4747
html: 'babel-loader'
4848
},

docs/kr/features/postcss.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## 인라인 옵션
1616

17-
또는 `vue-loader``postcss` 옵션을 사용해 `*.vue`파일을 위해 postcss 설정을 지정할 수 있습니다.
17+
또는 `vue-loader``postcss` 옵션을 사용해 `*.vue`파일을 위해 PostCSS 설정을 지정할 수 있습니다.
1818

1919
webpack 1버전 예제:
2020

@@ -23,7 +23,7 @@ webpack 1버전 예제:
2323
module.exports = {
2424
// 기타 설정...
2525
vue: {
26-
// 사용자 정의 postcss 플러그인 사용
26+
// 사용자 정의 PostCSS 플러그인 사용
2727
postcss: [require('postcss-cssnext')()]
2828
}
2929
}

docs/kr/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module: {
7878

7979
- `html`의 경우, 기본 로더의 결과는 컴파일 된 JavaScript 렌더링 함수 코드가 됩니다.
8080

81-
- `css`의 경우, 결과는 `vue-style-loader`가 반환하고 대부분의 경우 별로 사용할 일은 없습니다. postcss 플러그인을 사용하는 것이 더 좋습니다.
81+
- `css`의 경우, 결과는 `vue-style-loader`가 반환하고 대부분의 경우 별로 사용할 일은 없습니다. PostCSS 플러그인을 사용하는 것이 더 좋습니다.
8282

8383

8484
### postcss

docs/pt_BR/configurations/advanced.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ module.exports = {
2626
loader: 'vue-loader',
2727
options: {
2828
// `loaders` substituirá os carregadores padrões.
29-
// A configuração a seguir fará com que todas as tags <script> sem
30-
// o atributo "lang" sejam carrega com coffee-loader
29+
// A configuração a seguir fará com que todas as tags `<script>` sem
30+
// o atributo `lang` sejam carrega com `coffee-loader`
3131
loaders: {
3232
js: 'coffee-loader'
3333
},
@@ -44,9 +44,9 @@ module.exports = {
4444
// - Para `html`, o resultado retornado pelo carregador padrão
4545
// será compilado em código de função de renderização JavaScript.
4646
//
47-
// - Para `css`, o resultado será retornado por vue-style-loader
47+
// - Para `css`, o resultado será retornado por `vue-style-loader`
4848
// que não é particulamente útil em muitos casos. Usando um plugin
49-
// postcss será uma opção melhor.
49+
// PostCSS será uma opção melhor.
5050
postLoaders: {
5151
html: 'babel-loader'
5252
},

docs/pt_BR/features/postcss.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ O uso de um arquivo de configuração permite que você compartilhe a mesma conf
1414

1515
## Opções em Linha
1616

17-
Como alternativa, você pode especificar configurações postcss especificamente para arquivos `*.vue` usando a opção `postcss` para `vue-loader`.
17+
Como alternativa, você pode especificar configurações PostCSS especificamente para arquivos `*.vue` usando a opção `postcss` para `vue-loader`.
1818

1919
Exemplo de uso no webpack 1.x:
2020

@@ -23,7 +23,7 @@ Exemplo de uso no webpack 1.x:
2323
module.exports = {
2424
// outras configurações...
2525
vue: {
26-
// use plugins personalizado de postcss
26+
// use plugins personalizado de PostCSS
2727
postcss: [require('postcss-cssnext')()]
2828
}
2929
}

docs/pt_BR/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = {
7575

7676
- Para `html`, o resultado retornado pelo carregador padrão será compilado em código de função de renderização JavaScript.
7777

78-
- Para `css`, o resultado será retornado por `vue-style-loader` que não é particularmente útil na maioria dos casos. Usando um plugin postcss será uma opção melhor.
78+
- Para `css`, o resultado será retornado por `vue-style-loader` que não é particularmente útil na maioria dos casos. Usando um plugin PostCSS será uma opção melhor.
7979

8080
### postcss
8181

docs/ru/configurations/advanced.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ module.exports = {
2525
loader: 'vue-loader',
2626
options: {
2727
// указанные `loaders` переопределят загрузчики используемые по умолчанию
28-
// Конфигурация ниже будет обрабатывать все теги <script> без атрибута "lang"
29-
// с помощью coffee-loader
28+
// Конфигурация ниже будет обрабатывать все теги `<script>` без атрибута `lang`
29+
// с помощью `coffee-loader`
3030
loaders: {
3131
js: 'coffee-loader'
3232
},
@@ -43,7 +43,7 @@ module.exports = {
4343
// - Для `html`, результат возвращаемый стандартным загрузчиком
4444
// будет скомпилированный в JavaScript код render-функции.
4545
//
46-
// - Для `css`, результат возвращаемый из vue-style-loader
46+
// - Для `css`, результат возвращаемый из `vue-style-loader`
4747
// что не является особенно полезным в большинстве случаев.
4848
// Использование postcss-плагина будет лучшим вариантом.
4949
postLoaders: {

docs/ru/features/postcss.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
module.exports = {
3535
// другие настройки...
3636
vue: {
37-
// использование плагинов postcss
37+
// использование плагинов PostCSS
3838
postcss: [require('postcss-cssnext')()]
3939
}
4040
}

docs/zh-cn/configurations/advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
loader: 'vue-loader',
2626
options: {
2727
// `loaders` 覆盖默认 loaders。
28-
// 以下配置会导致所有无 "lang" 特性的 <script> 标签加载 coffee-loader
28+
// 以下配置会导致所有无 `lang` 特性的 `<script>` 标签加载 `coffee-loader`
2929
loaders: {
3030
js: 'coffee-loader'
3131
},
@@ -40,7 +40,7 @@ module.exports = {
4040
//
4141
// - 对于 `html`, 默认 loader 返回会编译为 JavaScript 渲染函数
4242
//
43-
// - 对于 `css`, 由`vue-style-loader` 返回的结果通常不太有用。使用 postcss 插件将会是更好的选择。
43+
// - 对于 `css`, 由`vue-style-loader` 返回的结果通常不太有用。使用 PostCSS 插件将会是更好的选择。
4444
postLoaders: {
4545
html: 'babel-loader'
4646
}

docs/zh-cn/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = {
7777

7878
- 对于 `html`,默认 loader 返回结果会被编译为 JavaScript 渲染函数。
7979

80-
- 对于 `css`,由`vue-style-loader` 返回的结果通常不太有用。使用 postcss 插件将会是更好的选择。
80+
- 对于 `css`,由`vue-style-loader` 返回的结果通常不太有用。使用 PostCSS 插件将会是更好的选择。
8181

8282
### postcss
8383

0 commit comments

Comments
 (0)