ionic2 application as webapp

Host your ionic2 application as static website

  • In your code, you should prevent using cordova plugin from browser using
    if( this.platform.is('cordova') ){ 
    }
  • Build application for your favorite platform ionic build android
  • Copy content of www to your hosting ( ftp, scp, rsync, ... )