Skip to content

Commit

Permalink
Mention that Vue CLI should be installed in Prototyping guide (#5079)
Browse files Browse the repository at this point in the history
* 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 <pavan.sss1991@gmail.com>

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
  • Loading branch information
2 people authored and sodatea committed Jan 14, 2020
1 parent 1790205 commit cf5f009
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide/prototyping.md
@@ -1,11 +1,11 @@
# Instant Prototyping

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:
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:

``` bash
npm install -g @vue/cli-service-global
npm install -g @vue/cli @vue/cli-service-global
# or
yarn global add @vue/cli-service-global
yarn global add @vue/cli @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.
Expand Down

0 comments on commit cf5f009

Please sign in to comment.