Skip to content

Commit e401a81

Browse files
sfermigierhaoqunjiang
authored andcommitted
docs: add option to use yarn instead of npm (#3160) [ci skip]
1 parent 6d5cbdb commit e401a81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guide/prototyping.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ You can rapidly prototype with just a single `*.vue` file with the `vue serve` a
44

55
``` bash
66
npm install -g @vue/cli-service-global
7+
# or
8+
yarn global add @vue/cli-service-global
79
```
810

911
The drawback of `vue serve` is that it relies on globally installed dependencies which may be inconsistent on different machines. Therefore this is only recommended for rapid prototyping.

0 commit comments

Comments
 (0)