generator-ionic-2
a Generator to generate a mobile Hybrid Application with Ionic 2
Installation
First, install Yeoman and generator-ionic-2 using npm (we assume you have pre-installed node.js).
npm i -g webpack npm i -g yo npm i -g generator-ionic-2
Then generate your new project:
mkdir myProject && cd myProjectyo ionic-2npm start
open now http://localhost:3000
//or prod
npm run build
//cordova commands
npm run cordova --command platform add ios|androidnpm run cordova --command build ios|androidnpm run cordova --command run ios|androidnpm run cordova --command plugin add cordova-plugin-device
//or bundle
npm run bundlenpm run bundle-android
Getting To Know Yeoman
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. Feel free to learn more about him.
License
MIT © DrMabuse