a Generator to generate a mobile Hybrid Application with Ionic-2/Angular 2


Keywords
yeoman-generator, ionic2, ionic, angular, angular2, webpack, typescript
License
MIT
Install
npm install generator-ionic-2@0.1.8-beta

Documentation

generator-ionic-2 NPM version Build Status Dependency Status Coverage percentage

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).

webpack
npm i -g webpack 
npm i -g yo 
npm i -g generator-ionic-2

Then generate your new project:

mkdir myProject && cd myProject
yo ionic-2
npm start

open now http://localhost:3000

//or prod

npm run build

//cordova commands

npm run cordova --command platform add ios|android
npm run cordova --command build ios|android
npm run cordova --command run ios|android
npm run cordova --command plugin add cordova-plugin-device

//or bundle

npm run bundle
npm run bundle-android

API

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

generator-ionic-2