1.0.5 • Published 8 years ago
vfly v1.0.5
vfly
A simple Tool for Vue.js and Webpack projects.
Installation
$ npm install -g vflyUsage
$ vfly <template-name> <project-name>Example:
$ vfly vue my-projectThe above command pulls the template from xnfed/vue-template, prompts for some information, and generates the project at ./my-project/.
Official Templates
Current available templates include:
- vue - A full-featured Webpack + vue-loader setup with hot reload, linting & css extraction.
Custom Templates
It's unlikely to make everyone happy with the official templates. You can simply fork an official template and then use it via vfly with:
vfly username/repo my-projectWhere username/repo is the GitHub repo shorthand for your fork.
The shorthand repo notation is passed to download-git-repo so you can also use things like bitbucket:username/repo for a Bitbucket repo and username/repo#branch for tags or branches.
If you would like to download from a private repository use the --clone flag and the cli will use git clone so your SSH keys are used.