Ionic2 and Electron - possible to port existing Electron app into Ionic2?


#1

I’m new to Ionic, so I’m looking for some guidance.
I’ve written an Electron application that currently relies on a custom Node.js addon and some Node.js plugins. I’m also currently using Boostrap (although by no means married to it).
There’s considerable interest in having a mobile version of this application. I understand that, of course, the node.js stuff will not work, but is it possible to segregate the imports and such so that I can build the application for both Android and Windows?

Thanks for the help!


#2

I used webpack to build my app and was able to get electron + ionic 2 (beta) + webpack work well. Since ionic 2 RC, i have been struggling to get the app working.

ionic-app-scripts doesn’t handle node.js modules. I’m looking for answers too.

Does anyone have boilerplate using electron + ionic 2 (RC version) that works well?

Appreciate your help!!