Skip to content

Boilerplate code to build a Chrome extension in React

Notifications You must be signed in to change notification settings

kapnobatai137/react-chrome-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-chrome-extension

Alt text

This is the first in a series of React boilerplate projects to help web developers learn and understand React. This project actually came about as I was creating my latest project, StyleStash - Save Your favorite CSS Styles.

Video Code Walkthrough

If you're more of a visual learner, I've recorded a 20 minute video walkthrough of this project.

Local Testing

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Testing Inside Chrome

This project needs to be built in order to take advantage of the Chrome Extension API, such as using the Content script to get the extension's ID, or using the Chrome Storage API. These features cannot be used when running this project locally.

To load as a developer extension inside of Chrome:

  1. npm run build
  2. Navigate to chrome://extensions/ in your browser
  3. Toggle the Developer mode switch on in the top right hand corner
  4. Click the Load unpacked button in the top left corner
  5. Select the build folder inside of this project folder

Builds the app for Chrome to the build folder.

About

Boilerplate code to build a Chrome extension in React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.3%
  • CSS 17.5%
  • HTML 3.2%