Deployed and Tested under Win10. If you wish to collaborate test with other OS-Platforms.
This project is under development for integrate the news angular updates and include pro tips.
The angular-cli is now in beta, this project too.
If you wish to collaborate while the project is still young, check out our issue list.
angular-cli for mor info please visit angular-cli
npm install angular-cli -g
If you use the electron into angular code like this src example, make the npm link of my angular-cli folk
git clone https://github.com/vilarone/angular-cli.git
cd angular-cli
npm link
cd ..
I make a pull request to angular-cli project #3346 to solve this.
#install
git clone https://github.com/vilarone/ng2-electron-builder.git
cd ng2-electron-builder
npm install
# make local npm link angular-cli . keep this if no use electron remote into angular
npm link angular-cli
# run electron application
npm run electron
# package application
npm run package
# build intaller
npm run release
### add :prod for production minify (unglify)
npm run electron:prod
npm run package:prod
Inportant file folders:
...
├── electron
│ └── […Electron main file and config application json…]
├── release
│ └── […the final electron-package & electron-builder generated files…]
├── src
│ └── […here you type your application…]
├── package.json
...
ng serve
# or
npm start
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Contributions are always welcome! Please read the contribution guidelines first.
MIT