You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository includes examples of how to set up a Chrome Extension with React and TypeScript.
3
+
## Overview
4
4
5
-
This project uses [Vite](https://vitejs.dev/)and [crxjs](https://crxjs.dev/vite-plugin) to build the extension.
5
+
This project demonstrates how to build a Chrome Extension using React and TypeScript. It includes examples of a Popup and a Content Script React app, both built and bundled with Vite and crxjs.
@@ -42,6 +51,15 @@ The content script source code is in the `content-script` directory.
42
51
43
52
<imgwidth="895"alt="Screen Shot 2022-06-18 at 10 04 04 AM"src="https://user-images.githubusercontent.com/16216104/174416528-6e5ad272-5faa-41d4-a717-c210ed4924b0.png">
44
53
54
+
## Development Tips
55
+
56
+
-**Live Reloading**: Use `yarn dev` to see changes immediately during development.
57
+
-**Debugging**: Use Chrome DevTools to inspect and debug both the content script and popup.
58
+
45
59
## Background
46
60
47
61
This repository was originally part of [How to inject a React app into a Chrome Extension as a Content Script](https://medium.com/@yosevu/how-to-inject-a-react-app-into-a-chrome-extension-as-a-content-script-3a038f611067).
62
+
63
+
## License
64
+
65
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments