Skip to content

Looking to build a Chrome extension using React? This boilerplate provides a streamlined setup with Vite, Manifest V3 support, ESLint, and Prettier—ensuring fast development, clean code, and easy customization.

License

andrewchopko/react-chrome-extension-template

Repository files navigation

🚀 Chrome Extension Boilerplate with React

A powerful and easy-to-use boilerplate for developing Chrome extensions with React. This template simplifies the setup process and allows you to focus on building your extension efficiently.


✨ Features

  • 🛠️ React-powered - Build UI with React
  • Vite support - Fast development and HMR
  • 🔥 ESLint & Prettier - Ensures code quality
  • 🚀 Manifest V3 support - Stay updated with Chrome’s latest standards
  • 🧩 Easily customizable - Modify and extend as needed

🚀 Installation

Clone this repository and install dependencies:

git clone https://github.com/andrewchopko/react-chrome-extension-template.git
cd react-chrome-extension-template
npm install

🎯 Usage

To start development:

npm run dev

To build the extension for production:

npm run build

🛠️ How to Load the Extension in Chrome

  1. Go to chrome://extensions/
  2. Enable Developer Mode (top-right corner)
  3. Click Load Unpacked
  4. Select the dist folder generated by the build command

🤝 Contributing

Contributions are welcome! If you’d like to improve this project, follow these steps:

  1. Fork the repository
  2. Create a new branch (feature-branch)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Create a Pull Request

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


🚀 Star this repo!

If you find this project helpful, please consider giving it a ⭐ to support development!


About

Looking to build a Chrome extension using React? This boilerplate provides a streamlined setup with Vite, Manifest V3 support, ESLint, and Prettier—ensuring fast development, clean code, and easy customization.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published