From d8a888aa414361fcff28eda5ec37fd162ae866e7 Mon Sep 17 00:00:00 2001 From: ntepluhina Date: Mon, 13 Jan 2020 16:18:55 +0200 Subject: [PATCH 1/3] docs: clarified that we need CLI installed --- docs/guide/prototyping.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/prototyping.md b/docs/guide/prototyping.md index c56a7d03bc..b1424deeb9 100644 --- a/docs/guide/prototyping.md +++ b/docs/guide/prototyping.md @@ -1,6 +1,6 @@ # 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 From 3903f4536173f0c2a7f13f0546d5b45266b2881e Mon Sep 17 00:00:00 2001 From: ntepluhina Date: Mon, 13 Jan 2020 17:26:15 +0200 Subject: [PATCH 2/3] docs: added vue-cli to bash script --- docs/guide/prototyping.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/prototyping.md b/docs/guide/prototyping.md index b1424deeb9..84fcd45789 100644 --- a/docs/guide/prototyping.md +++ b/docs/guide/prototyping.md @@ -3,9 +3,9 @@ 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. From 877686868825e5a939e39f236b9260773d98b38a Mon Sep 17 00:00:00 2001 From: Natalia Tepluhina Date: Mon, 13 Jan 2020 17:30:32 +0200 Subject: [PATCH 3/3] Update docs/guide/prototyping.md Co-Authored-By: Pavan Kumar Sunkara --- docs/guide/prototyping.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/prototyping.md b/docs/guide/prototyping.md index 84fcd45789..4c083ed5d3 100644 --- a/docs/guide/prototyping.md +++ b/docs/guide/prototyping.md @@ -3,7 +3,7 @@ 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 @vue/cli-service-global +npm install -g @vue/cli @vue/cli-service-global # or yarn global add @vue/cli @vue/cli-service-global ```