Skip to content

update ja docs #831

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

Merged
merged 4 commits into from
May 28, 2017
Merged

update ja docs #831

merged 4 commits into from
May 28, 2017

Conversation

kazupon
Copy link
Member

@kazupon kazupon commented May 27, 2017

No description provided.

@kazupon kazupon requested a review from ktsn May 27, 2017 14:46
@kazupon
Copy link
Member Author

kazupon commented May 27, 2017

/ping @ktsn


Automatically extracts the CSS using `extract-text-webpack-plugin`. Works for most pre-processors out of the box, and handles minification in production as well.
自動的に `extract-text-webpack-plugin` を使用して CSS を抽出します。ほとんどのプリプロセッサに対してすぐに動作し、本番環境においても同様に縮小処理します。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minify を縮小と訳すとちょっとわかりづらいように思いました。少し正確ではないですが、「圧縮」にするか、そのままミニファイにするのが良いのではないかと思いますが、いかがでしょうか?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

圧縮 (minify) にしておきました。


The value passed in can be `true`, or an instance of the plugin (so that you can use multiple instances of the extract plugin for multiple extracted files).
`true` またはプラグインのインスタンス (複数の抽出されたファイルに対して抽出プラグインの複数のインスタンスを使用できるように) を値として渡すことができます。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract plugin の部分ですが、日本語にすると extract-text-webpack-plugin を指していることがわかりづらいですね……。ここはそのまま extract-text-webpack-plugin にしてしまうのはどうでしょうか?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract-text-webpack-plugin の方が分かりやすいので、そのようにしておきました!


Enable Vue 2.4 SSR compilation optimization that compiles part of the vdom trees returned by render functions into plain strings, which improves SSR performance. In some cases you might want to explicitly turn it off because the resulting render functions can only be used for SSR and cannot be used for client-side rendering or testing.
描画 (render) 関数によって返された vdom ツリーの一部をプレーンな文字列にコンパイルする、Vue 2.4 SSR (サーバサイドレンダリング) のコンパイル最適化を有効にして、SSR のパフォーマンスを改善します。
描画関数の結果が SSR に対してのみと、クライアントサイドレンダリングまたはテストには使用できないため、あるケースによっては、明示的にオフにしたい場合があります。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SSR に対してのみと
-> SSR のみを対象としたものになり、
クライアントサイドレンダリングまたはテストには使用できないため、
-> クライアントサイドレンダリングまたはテストには使用できなくなるため、
明示的にオフにしたい場合があります
-> 明示的にオフにしたくなる場合があります

はいかがでしょうか?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます。
こちらもレビューコメントどおりに修正してしました!

@kazupon
Copy link
Member Author

kazupon commented May 28, 2017

指摘された部分、修正したので、
確認お願いします! 🙏

Copy link
Member

@ktsn ktsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kazupon kazupon merged commit 98751d8 into vuejs:master May 28, 2017
@kazupon kazupon deleted the docs/ja branch May 28, 2017 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants