programming

how to build desktop application : smart way

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 Nodejs.org

Step 1:

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

> npm install -g electron-forge

Step 2:

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

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

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)

Step5:

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

Step 6:

This is the final command, 
> npm run make

moin

View Comments

  • If your storefront windows are constantly foggy and cloudy, there are a few possible causes.

  • 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

  • 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!

  • 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.

Recent Posts

Setup Tailwind CSS with Angular Version greater than 11

Install tailwind css with npm Run the following command to install tailwind css npm install…

1 month ago

How to setup laravel project using homestead

Step 1 : Create a new directory Homestead by using this command  cd ~/Homestead Step…

1 month ago

NPM vs NPX

npx and npm are both command line tools that are used to install and run…

1 month ago

Configure laravel project in vagrant box in ubuntu

Step 1: Create a directory where you want to store project such as  mkdir ~/vagrant_projects…

2 months ago

Guide To Naming Conventions

Specifically, there are certain naming conventions available across all programming languages, also known as Snake…

2 months ago

How to use a CORS proxy to avoid “No Access-Control-Allow-Origin header” problems

If you want to solve the Access-Control-Allow-Orgin header problems, you can setup the cors proxy.…

2 months ago

This website uses cookies.