1.0.0 • Published 8 years ago
xmen-test v1.0.0
xmen
A simple Tool for Vue.js and webpack projects.
Installation
$ npm install -g xmen-testUsage
$ xmen <template-name> <project-name>Example:
$ xmen webpack my-projectThe above command pulls the template from ecizep/webpack, prompts for some information, and generates the project at ./my-project/.
Official Templates
Current available templates include:
- webpack - A full-featured Webpack + vue-loader setup with hot reload, linting, testing & 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 xmen with:
xmen 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.