Ionic + Electron template.
Ionic: 3.9.2
Electron: 1.7.5
NPM: 6.11.2
Node: 5.3.0
- Install
electronglobally.
npm install -g electron@types/electron- typings for electron.
Redox uses electron-packager
- See, Electron-Packager API Docs for more information.
- Electron-Packager
#build electron win32 app
npm run ebuild_win32- Open 1st command line, then
ionic serve- Open 2nd command line, then
npm run electron serve
# or
npm run electronnpm run electron serve- this will open the electron window and will listen toionic serve(http://localhost:8100) by default.npm run electron- will use thefile:protocol and serve thewww/index.htmlin the electron window
- Downgraded from
"@ionic/app-scripts": "2.1.4"to"@ionic/app-scripts": "2.1.3"to fixnpm ERR! code EINTEGRITY npm ERR! sha512....