Yeoman generator for ionic-wechat-app.
First, install Yeoman and generator-ionic-wechat-app using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-ionic-wechat-app
Then generate your new project:
yo ionic-wechat-app
##Generate controller:
yo ionci-wechat-app:controller
- Then input your project_name (Most of time ,you can use the default one) and controller name;
DON'T forget paste the ROUTE.MD to your own index.route.js.
##Generate component:
yo ionci-wechat-app:component
Then input your project_name (Most of time ,you can use the default one) and component name;
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
MIT © feizheng