Angular 2 + Electron 开发web和桌面应用

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

  

你可能感兴趣的:(Angular 2 + Electron 开发web和桌面应用)