Go to file
Alex Bratsos 818ba0d1ae Warning for Win10 on readme
Added a warning for Windows 10 users facing npm errors. Most of the times that's the problem
2017-02-16 11:32:58 +02:00
.gitignore Add gitignore 2015-10-16 17:00:08 -07:00
LICENSE.md Change license to CC0 2015-11-23 06:47:37 +09:00
README.md Warning for Win10 on readme 2017-02-16 11:32:58 +02:00
index.html Use full Node.js name 2016-10-27 17:54:22 -07:00
main.js Use path.join for pathname 2016-10-31 10:36:11 -07:00
package.json clean up package.json 2016-09-28 11:10:43 -07:00
renderer.js Add comment 2016-04-28 17:18:32 -07:00

README.md

electron-quick-start

Clone and run for a quick way to see Electron in action.

This is a minimal Electron application based on the Quick Start Guide within the Electron documentation.

Use this app along with the Electron API Demos app for API code examples to help you get started.

A basic Electron application needs just these files:

  • package.json - Points to the app's main file and lists its details and dependencies.
  • main.js - Starts the app and creates a browser window to render HTML. This is the app's main process.
  • index.html - A web page to render. This is the app's renderer process.

You can learn more about each of these components within the Quick Start Guide.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/electron/electron-quick-start
# Go into the repository
cd electron-quick-start
# Install dependencies
npm install
# Run the app
npm start

Learn more about Electron and its API in the documentation.


Warning: Windows 10 users might encounter some errors while running npm start from Linux Bash for Windows. The reason for this is that Electron is a GUI application, but Linux bash for Windows is just a headless VM without any GUI ( explained here ). A temporary workaround is getting NodeJS for Windows and use the node cmd.

Other Example Apps

For more example apps, see the list of boilerplates created by the awesome electron community.

License CC0 1.0 (Public Domain)