Skip to content

Commit fb938a7

Browse files
oohirakazupon
authored andcommitted
Translate v2.6 updates for installation.md (#1476)
1 parent b5afb4b commit fb938a7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/v2/guide/installation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: インストール
3-
updated: 2019-02-11
3+
updated: 2019-02-14
44
type: guide
55
order: 1
66
vue_version: 2.5.16
@@ -35,19 +35,19 @@ Vue を使用する場合は、ブラウザに [Vue Devtools](https://github.com
3535

3636
### CDN
3737

38-
For prototyping or learning purposes, you can use the latest version with:
38+
プロトタイピングや学習を目的とする場合は、以下のようにして最新バージョンを使うことができます:
3939

4040
``` html
4141
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
4242
```
4343

44-
For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions:
44+
本番環境では、新しいバージョンによる意図しない不具合を避けるため、特定のバージョン番号とビルド番号にリンクすることをお勧めします:
4545

4646
``` html
4747
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.0/dist/vue.js"></script>
4848
```
4949

50-
If you are using native ES Modules, there is also an ES Modules compatible build:
50+
もしもネイティブの ES Modules を使っているなら、ES Modules 互換のビルドもあります:
5151

5252
``` html
5353
<script type="module">
@@ -83,7 +83,7 @@ $ npm install vue
8383

8484
[NPM パッケージの `dist/` ディレクトリ](https://cdn.jsdelivr.net/npm/vue/dist/) では Vue.js の多くのさまざまなビルドが見つかります。それらの違いの概要は以下の通りです:
8585

86-
| | UMD | CommonJS | ES Module (for bundlers) | ES Module (for browsers) |
86+
| | UMD | CommonJS | ES Module (バンドラ用) | ES Module (ブラウザ用) |
8787
| --- | --- | --- | --- | --- |
8888
| **完全** | vue.js | vue.common.js | vue.esm.js | vue.esm.browser.js |
8989
| **ランタイム限定** | vue.runtime.js | vue.runtime.common.js | vue.runtime.esm.js | - |
@@ -102,11 +102,11 @@ $ npm install vue
102102

103103
- **[CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1)**: CommonJS ビルドは [browserify](http://browserify.org/)[webpack 1](https://webpack.github.io) のような古いバンドラでの利用を意図しています。これらのバンドラ (`pkg.main`) のための既定のファイルはランタイム限定 CommonJS ビルド (`vue.runtime.common.js`) です。
104104

105-
- **[ES Module](http://exploringjs.com/es6/ch_modules.html)**: starting in 2.6 Vue provides two ES Modules (ESM) builds:
105+
- **[ES Module](http://exploringjs.com/es6/ch_modules.html)**: バージョン 2.6 から Vue は 2 種類の ES Modules (ESM) ビルドを提供します:
106106

107-
- ESM for bundlers: intended for use with modern bundlers like [webpack 2](https://webpack.js.org) or [Rollup](https://rollupjs.org/). ESM format is designed to be statically analyzable so the bundlers can take advantage of that to perform "tree-shaking" and eliminate unused code from your final bundle. The default file for these bundlers (`pkg.module`) is the Runtime only ES Module build (`vue.runtime.esm.js`).
107+
- バンドラ用 ESM: [webpack 2](https://webpack.js.org) [Rollup](https://rollupjs.org/) のようなモダンバンドラでの利用を想定しています。ESM フォーマットは、バンドラが "tree-shaking" を実行して最終バンドルから未使用コードを除去しやすいように、静的解析できる設計になっています。これらのバンドラ (`pkg.module`) のための既定のファイルは、ランタイム限定 ES Module ビルド (`vue.runtime.esm.js`) です。
108108

109-
- ESM for browsers (2.6+ only): intended for direct imports in modern browsers via `<script type="module">`.
109+
- ブラウザ用 ESM (2.6 以降のみ): モダンブラウザでの `<script type="module">` による直接インポートを想定しています。
110110

111111
### ランタイム + コンパイラとランタイム限定の違い
112112

0 commit comments

Comments
 (0)