This repository includes examples of how to set up a Chrome Extension with React and TypeScript.
This project uses Vite and crxjs to build the extension.
git clone [email protected]:yosevu/react-content-script.git
yarn
yarn build
react-content-script
directory and select the dist
directory to load the extensionThe popup source code is at the root directory.
The content script source code is in the content-script
directory.
This repository was originally part of How to inject a React app into a Chrome Extension as a Content Script.