diff --git a/docs/en/installation.md b/docs/en/installation.md index 6514cc969..779901570 100644 --- a/docs/en/installation.md +++ b/docs/en/installation.md @@ -21,6 +21,12 @@ Include `vuex` after Vue and it will install itself automatically: npm install vuex ``` +### Yarn + +``` bash +yarn add vuex +``` + When used with a module system, you must explicitly install Vuex via `Vue.use()`: ``` js diff --git a/docs/fr/installation.md b/docs/fr/installation.md index 8029cc08d..05b95d654 100644 --- a/docs/fr/installation.md +++ b/docs/fr/installation.md @@ -21,6 +21,12 @@ Incluez `vuex` après Vue et l'installation sera automatique : npm install vuex ``` +### Yarn + +``` bash +yarn add vuex +``` + Lorsque vous utilisez un système de modules, vous devez explicitement installer le router via `Vue.use()`: ``` js diff --git a/docs/ja/installation.md b/docs/ja/installation.md index 510b5139a..464317e2d 100644 --- a/docs/ja/installation.md +++ b/docs/ja/installation.md @@ -21,6 +21,12 @@ Vue のあとで `vuex` を取り込むと自動的に Vuex が導入されま npm install vuex ``` +### Yarn + +``` bash +yarn add vuex +``` + モジュールシステムで利用される場合、 `Vue.use()` によって Vuex を明示的に導入する必要があります: ``` js diff --git a/docs/ru/installation.md b/docs/ru/installation.md index 5c9452393..1d8f10381 100644 --- a/docs/ru/installation.md +++ b/docs/ru/installation.md @@ -21,6 +21,12 @@ npm install vuex ``` +### Yarn + +``` bash +yarn add vuex +``` + Если вы используете модули, установите Vuex явным образом командой `Vue.use()`: ``` js diff --git a/docs/zh-cn/installation.md b/docs/zh-cn/installation.md index f66f08c11..8411aecfc 100644 --- a/docs/zh-cn/installation.md +++ b/docs/zh-cn/installation.md @@ -21,6 +21,12 @@ npm install vuex ``` +### Yarn + +``` bash +yarn add vuex +``` + 在一个模块化的打包系统中,您必须显式地通过 `Vue.use()` 来安装 Vuex: ``` js