-
Run npm install inside the app directory to install the dependencies.
-
Run npm build to build the app, which then generates a build folder for our built app.
-
For Chrome Users: In browser, go to chrome://extensions page and turn on developer mode. This enables the ability to locally install a Chrome extension.
For Firefox Users: In browser, go to about://debugging page and load the extension.And you are good to go.
-
Now click on the LOAD UNPACKED and browse to build folder of app, this will install the React app as a Chrome/Firefox extension.
-
Open a new tab to see the results. :)