Skip to content

Commit 781f0ff

Browse files
gbezyukktsn
authored andcommitted
Add yarn-way installation docs Vuex [all langs] (#505)
* Add yarn command for install Vuex [RU] * yarn for every language * Add yarn command for install Vuex [RU] * yarn for every language * yarn for japanese
1 parent 30ca5cf commit 781f0ff

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

docs/en/installation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Include `vuex` after Vue and it will install itself automatically:
2121
npm install vuex
2222
```
2323

24+
### Yarn
25+
26+
``` bash
27+
yarn add vuex
28+
```
29+
2430
When used with a module system, you must explicitly install Vuex via `Vue.use()`:
2531

2632
``` js

docs/fr/installation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Incluez `vuex` après Vue et l'installation sera automatique :
2121
npm install vuex
2222
```
2323

24+
### Yarn
25+
26+
``` bash
27+
yarn add vuex
28+
```
29+
2430
Lorsque vous utilisez un système de modules, vous devez explicitement installer le router via `Vue.use()`:
2531

2632
``` js

docs/ja/installation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Vue のあとで `vuex` を取り込むと自動的に Vuex が導入されま
2121
npm install vuex
2222
```
2323

24+
### Yarn
25+
26+
``` bash
27+
yarn add vuex
28+
```
29+
2430
モジュールシステムで利用される場合、 `Vue.use()` によって Vuex を明示的に導入する必要があります:
2531

2632
``` js

docs/ru/installation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
npm install vuex
2222
```
2323

24+
### Yarn
25+
26+
``` bash
27+
yarn add vuex
28+
```
29+
2430
Если вы используете модули, установите Vuex явным образом командой `Vue.use()`:
2531

2632
``` js

docs/zh-cn/installation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
npm install vuex
2222
```
2323

24+
### Yarn
25+
26+
``` bash
27+
yarn add vuex
28+
```
29+
2430
在一个模块化的打包系统中,您必须显式地通过 `Vue.use()` 来安装 Vuex:
2531

2632
``` js

0 commit comments

Comments
 (0)