From c1934edfabba1db9ccd2c6aa8dcfe5bc0c123ea9 Mon Sep 17 00:00:00 2001 From: Joseph Rex Date: Thu, 17 Aug 2017 05:50:56 -0500 Subject: [PATCH 1/3] Add option for running through npx --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be553c6077..2171689a50 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ $ npm install -g vue-cli $ vue init ``` +> You can also avoid installing the CLI and run **npx vue init ** + Example: ``` bash @@ -79,7 +81,7 @@ vue init ~/fs/path/to-custom-template my-project - `prompts`: used to collect user options data; - `filters`: used to conditional filter files to render. - + - `metalsmith`: used to add custom metalsmith plugins in the chain. - `completeMessage`: the message to be displayed to the user when the template has been generated. You can include custom instruction here. @@ -196,7 +198,7 @@ You may customize the metalsmith builder created by vue-cli to register custom p // Implement something really custom here. done(null, files) } - + metalsmith.use(customMetalsmithPlugin) } } From 2372234edd4dd0a509b3a4067631928ef5b58a06 Mon Sep 17 00:00:00 2001 From: Joseph Rex Date: Thu, 17 Aug 2017 05:55:28 -0500 Subject: [PATCH 2/3] Change from blockquote to code snippet example --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2171689a50..b1de76934b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,11 @@ $ npm install -g vue-cli $ vue init ``` -> You can also avoid installing the CLI and run **npx vue init ** +Or you may use npx and avoid global install if you are on npm >= 5 + +```bash +npx vue init +``` Example: From 38a89cd59eb2c1aea07f468dc71896a2669ddf4c Mon Sep 17 00:00:00 2001 From: Joseph Rex Date: Thu, 17 Aug 2017 10:43:56 -0500 Subject: [PATCH 3/3] Change vue to vue-cli with npx command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b1de76934b..b0306f4bca 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ $ vue init Or you may use npx and avoid global install if you are on npm >= 5 ```bash -npx vue init +npx vue-cli init ``` Example: