This is the test project for Sprout.
- Well structured and reusable code
- Uses best practices whenever is possible, detail oriented
- Faster build time and smaller bundle size (compares to Webpack), made possible with
vite
androllup
. Is it a pun? :) - Pixel perfect style as per Figma design
- The content panel is written in an
iframe
, to avoid CSS pollution from both sides - Flexible
iframe
height, which is done by observing the inner content box's height and then send to parent frame withwindow.postMessage
- Coded with ❤
- React 18
- TypeScript
- Jest
- React Testing Library
- Vite
- Tailwind CSS
- SASS
- ESLint
- Prettier
- Chrome Extension Manifest Version 3
- Clone this repository.
- Change
name
anddescription
in package.json => Auto synchronize with manifest - Run
yarn
ornpm i
(check your node version >= 16) - 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
.