docs: added additional instructions to RUN the application (#25743)

In the existing documentation only "npm start" is given as the
instruction to run the project, however the definition of the 'start'
script is not mentioned anywhere. Hence I feel it is important for the
users to know the exact contents of the 'start' scirpt and have
accordingly updated the documentation.
This commit is contained in:
Asher Jacob 2020-10-06 02:04:35 +05:30 committed by GitHub
parent ee9045c2e7
commit cba19f06f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,15 @@ Once you've created your initial `main.js`, `index.html`, and `package.json`
files, you can try your app by running `npm start` from your application's files, you can try your app by running `npm start` from your application's
directory. directory.
**Note**: If you are building this project without downloading the example
repository, your `start` script in `package.json` should look like this
```json
"scripts": {
"start": "electron ."
}
```
## Trying this Example ## Trying this Example
Clone and run the code in this tutorial by using the Clone and run the code in this tutorial by using the