https://github.com/zhongzf/angular2-electron-quickstart
Web用法:
# Clone this repository
git clone https://github.com/zhongzf/angular2-electron-quickstart.git cd angular2-electron-quickstart # Install development dependency
npm install # Build and start web server and browser
npm run web
桌面应用用法:
# Build and start Electron
npm start