Simple Chrome extension React boilerplate
This is a simple chrome extension boilerplate made in React to use as a default structure for your future project.
The purpose is to provide as basic and as useful as possible basic structure to get started as quick as possible.
Of course, some parts may not suits you, but most of the basic redundant work is already done.
yarn dev: runs webpack with development environment.
yarn build: runs webpack with production environment.
yarn lint: checks typescript files lint issues in the
Note that you need at least yarn or npm installed to proceed.
git clone https://github.com/yafkari/chrome-extension-react-boilerplate.git
chrome-extension-react-boilerplate directory and run
Now you can either build the extension with
or run it in dev mode
You will see a
dist/ folder generated containing the build files.
yarn dev watches for file changes.
- Scss support
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request ?
The repo is available as open source under the terms of the MIT License.