Electron is a framework for building desktop apps with CSS, Javascript and HTML.
Here is a five minute guide line to start with electron.
Here is a five minute guide line to start with electron.
Video introduction
1. Installing Node.js
Install node.js. Download and install it.
2. Install electron
Open command terminal (cmd.exe for windows)
change the directory to your app folder.
enter the command
3. File structure
Electron app is structured like this.
Hello_world/
├── package.json
├── index.js
└── index.html
Create a folder named "Hello_world" or any as your wish.
4. package.json
Inside the folder create a file named "package.json"
{
"name" : "Hello_world",
"version" : "0.1.0",
"main" : "index.js"
}
5. index.js
Inside the folder create a file named "index.js"
6. index.html
Post a Comment