This project is listed in the Awesome Vite
This project is cloned from https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/commit/ca3321663ad0cbb96329338de68061250dca3cd7#diff-41c0d7470bfc7b681a2074bb6c8e6d8356b7cfd44e45e8b0d41cce661ea7b982
This boilerplate is made for creating chrome extensions using React and Typescript.
The focus was on improving the build speed and development experience with Vite.
- React 18
- TypeScript
- Jest
- React Testing Library
- Vite
- SASS
- Tailwind CSS
- ESLint
- Prettier
- Chrome Extension Manifest Version 3
- HRR(Hot Rebuild & Refresh/Reload)
- Clone this repository.
- Change
name
anddescription
in package.json => Auto synchronize with manifest - Run
yarn install
ornpm i
(check your node version >= 16.6, recommended >= 18) - Run
yarn dev
ornpm run dev
- Load Extension on Chrome
- Open - Chrome browser
- Access - chrome://extensions
- Check - Developer mode
- Find - Load unpacked extension
- Select -
dist
folder in this project (after dev or build)
- If you want to build in production, Just run
yarn build
ornpm run build
.
Jetbrains | Jackson Hong |
---|---|