0.6.0 • Published 8 years ago
generator-aldnoah v0.6.0
generator-aldnoah
Yeoman generator for aldnoah's scaffold based on vue and webpack for spa project
Getting Started
npm install yo -g
npm install generator-aldnoah -g
# help
yo aldnoah -h # or --help
# command
yo aldnoah my-project # or cd my-project && yo aldnoah
# command with options
yo aldnoah my-project -y
yo aldnoah my-project --force
yo aldnoah my-project --skip-install
About the detail of how to use yeoman-generator
, please check http://yeoman.io/learning/index.html
arguments
name
: The name of project you want to create
options
-y, --yes
: Skips the prompt interactions and generates default scaffold--force
: Overwrites existing target directory with not confirm to you--skip-install
: Do not automatically install dependencies
Prompts
name
: Project namedescription
: Project description which be used for README.md and package.jsonauthor
: Project author which be used for package.jsonsrc
: The directory name where stores project source codebuild
: The directory name where stores project compile code which's resulted by webpackvue
: Select vue type, more details access https://vuejs.org/v2/guide/installation.html#Explanation-of-Different-Buildseslint
: Select eslint config, value can be:tools
: Select some convenient toolsevent bus
- vue component:
toast
- vue filter:
date-format
vuex
: Whether to install vuexes6Polyfill
: Whether to install es6 api polyfillcore.js
analyse
: Whether to add webpack analyse
License
MIT