Skip to content

how to build desktop application : smart way

how to build desktop application

how to build desktop application with React(or HTML):

Before starting the steps, make sure you have installed the latest version of NodeJS. If not then please install it from official website

Step 1:

Install Electron Forge globally using the following command from your windows terminal(i.e. PowerShell):

> npm install -g electron-forge

how to build desktop application

Step 2:

Let’s get started with the application
Use the following command to create your application:

> electron-forge init simple-desktop-app-electronj

how to build desktop application

Step 3:

Go to application directory,
> cd simple-desktop-app-electronjs

then run,
> npm start

Step 4:

Edit the index.html under src/ or copy/paste your code into it(build of angular/react/vue or any other)


> npm run package (By defualt make executable of parent program, in our case Windows Application)
> npm run package -- --platform=linux --arch=x64

Step 6:

This is the final command, 
> npm run make

6 thoughts on “how to build desktop application : smart way”

  1. Hello My name is Jessica cane.I am a professional blogger. My professional blog posts cover all things related to Commercial Glass Window and Storefront Glass- from design schemes through maintenance tips for you! You can also check my blogs!Remove A Commercial Glass Window

  2. My brother suggested I would possibly like this blog.

    He was once totally right. This post truly made my day.
    You can not imagine simply how much time I had spent for this information! Thank you!

  3. remove ghost followers instagram

    I got this web page from my pal who shared with me on the topic of this web site and now
    this time I am browsing this web page and reading very informative articles or reviews at this place.

  4. Pingback: React Native Hybrid with Ease - Technology Blogs

Leave a Reply

Your email address will not be published. Required fields are marked *

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.