From cf5f00932750e9a5d05d4bf04d40ad2b0409874c Mon Sep 17 00:00:00 2001 From: Natalia Tepluhina Date: Tue, 14 Jan 2020 04:04:21 +0200 Subject: [PATCH] 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 Co-authored-by: Pavan Kumar Sunkara --- docs/guide/prototyping.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/prototyping.md b/docs/guide/prototyping.md index c56a7d03b..4c083ed5d 100644 --- a/docs/guide/prototyping.md +++ b/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.