Comparing version 2.3.1 to 2.4.0
{ | ||
"name": "vue-cli", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "A simple CLI for scaffolding Vue.js projects.", | ||
@@ -35,3 +35,3 @@ "preferGlobal": true, | ||
"consolidate": "^0.14.0", | ||
"download-git-repo": "^0.1.1", | ||
"download-git-repo": "^0.2.1", | ||
"handlebars": "^4.0.5", | ||
@@ -38,0 +38,0 @@ "inquirer": "^0.12.0", |
@@ -184,4 +184,23 @@ # vue-cli [![Build Status](https://img.shields.io/circleci/project/vuejs/vue-cli/master.svg)](https://circleci.com/gh/vuejs/vue-cli) [![npm package](https://img.shields.io/npm/v/vue-cli.svg)](https://www.npmjs.com/package/vue-cli) | ||
### Installing a specific template version | ||
`vue-cli` uses the tool [`download-git-repo`](https://github.com/flipxfx/download-git-repo) to download the official templates used. The `download-git-repo` tool allows you to indicate a specific branch for a given repository by providing the desired branch name after a pound sign (`#`). | ||
The format needed for a specific official template is: | ||
``` | ||
vue init <template-name>#<branch-name> <project-name> | ||
``` | ||
Example: | ||
Installing the [`1.0` branch](https://github.com/vuejs-templates/webpack-simple/tree/1.0) of the webpack-simple vue template: | ||
``` | ||
vue init webpack-simple#1.0 mynewproject | ||
``` | ||
### License | ||
[MIT](http://opensource.org/licenses/MIT) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32318
557
206
+ Addeddownload-git-repo@0.2.2(transitive)
- Removeddownload-git-repo@0.1.3(transitive)
Updateddownload-git-repo@^0.2.1