Skip to content

Commit cf5f009

Browse files
NataliaTepluhinapksunkara
authored andcommitted
Mention that Vue CLI should be installed in Prototyping guide (#5079)
* docs: clarified that we need CLI installed * docs: added vue-cli to bash script * Update docs/guide/prototyping.md Co-Authored-By: Pavan Kumar Sunkara <[email protected]> Co-authored-by: Pavan Kumar Sunkara <[email protected]>
1 parent 1790205 commit cf5f009

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guide/prototyping.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Instant Prototyping
22

3-
You can rapidly prototype with just a single `*.vue` file with the `vue serve` and `vue build` commands, but they require an additional global addon to be installed first:
3+
You can rapidly prototype with just a single `*.vue` file with the `vue serve` and `vue build` commands, but they require a global addon to be installed along with the Vue CLI:
44

55
``` bash
6-
npm install -g @vue/cli-service-global
6+
npm install -g @vue/cli @vue/cli-service-global
77
# or
8-
yarn global add @vue/cli-service-global
8+
yarn global add @vue/cli @vue/cli-service-global
99
```
1010

1111
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)