mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-13 12:40:18 -05:00
docs: add option to use yarn instead of npm (#3160) [ci skip]
This commit is contained in:
committed by
Haoqun Jiang
parent
6d5cbdb479
commit
e401a81054
@@ -4,6 +4,8 @@ You can rapidly prototype with just a single `*.vue` file with the `vue serve` a
|
||||
|
||||
``` bash
|
||||
npm install -g @vue/cli-service-global
|
||||
# or
|
||||
yarn global add @vue/cli-service-global
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user