-
Notifications
You must be signed in to change notification settings - Fork 916
update ja docs #1182
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
update ja docs #1182
Conversation
/ping @re-fort @potato4d @lmiller1990 @38elements |
docs/ja/features/scoped-css.md
Outdated
@@ -1,4 +1,4 @@ | |||
# スコープ付き CSS | |||
**再帰されたコンポーネントの子孫セレクタには気をつけてください!** セレクタ `.a .b` を持つ CSS ルールの場合、`.a` にマッチする要素に再帰的な子コンポーネントが含まれている場合、その子コンポーネントのすべての `.b` はルールにマッチします。# スコープ付き CSS | |||
|
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.
# スコープ付き CSS
の位置を1行目にする必要があると思います。
docs/ja/features/postcss.md
Outdated
|
||
あるいは、 `vue-loader` の `postcss` オプションを使用して `*.vue` ファイル用の PostCSS の設定を指定することが出来ます。 | ||
`vue-laoder` は内部的にはスタイルで PostCSS を扱うため、スタンドアロンの CSS ファイルに `postcss-loader` を適用する必要あります。プロジェクトに PostCSS 設定ファイルがある場合は、style ブロックに `lang="postcss"` を指定する必要はありません。 |
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.
vue-laoderをvue-loaderに変更する必要があると思います。
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.
既に指摘されているポイント以外、基本的に問題ないかと思います!
以下提案です。コメント内容について方針の決定、 vue-laoder のところの修正だけいただければ Approve で良さそうです。
@@ -80,7 +86,7 @@ module.exports = { | |||
|
|||
### postcss | |||
|
|||
> メモ: 11.0.0 以降では代わりに PostCSS の設定ファイル推奨されています。[使用法は `postcss-loader` と同じです](https://github.com/postcss/postcss-loader#usage)。 | |||
> メモ: 代わりに、vue ファイルと通常の CSS が同じ設定を共有することができるため、PostCSS 設定ファイルの使用を推奨されています。[使用法は `postcss-loader` と同じです](https://github.com/postcss/postcss-loader#usage)。 |
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.
他の場所ではシチュエーションに合わせて *.vue ファイル、もしくは Vue ファイルの記法のどちらかで統一されているので、統一したほうが良いかと思います。
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.
確かにそうですね。
こちら、原文の方も、このようになっていたので、後でPR送りますね。
docs/ja/options.md
Outdated
### esModule | ||
|
||
> このオプションは v14.0 では削除されました。v14.0 以降では、`*.vue` ファイルは常に ES モジュールをエクスポーズします。 |
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.
は 単純に「エクスポート」としたほうが良いかもと思っていますがいかがでしょうか(� 「exports」 であることを明示したければこのままでも良いと思います!)
@38elements @potato4d |
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.
対応ありがとうございました!
No description provided.