Tutorial by Examples

Dependencies To install electron you must first install Node.js, which comes with npm. How to install it? Use npm: # Install the `electron` command globally in your $PATH npm install electron -g # OR # Install as a development dependency npm install electron --save-dev
Setup An Electron project structure usually looks like this: hello-world-app/ ├── package.json ├── index.js └── index.html Now let's create the files and initialize our package.json. $ mkdir hello-world-app && cd hello-world-app $ touch index.js $ touch index.html $ npm init N...

Page 1 of 1