This project containes a minimal setup for developing a performant and well structured web extension. The extension contains a demonstration counter that is displayed on the popup and options pages as well as any open tab.
install dependencies
- npm install
Transpile the code
- npm run dev (only transpiles the code)
- npm run watch (transpiles and watches for code changes)
yarn commands will work too if yarn is installed.
- Go to: chrome://extensions
- Toggle: "developer mode" on.
- Click on: "Load unpacked"
- Select the newly created folder "dist" from the project folder.
- Thats it.
- Go to: about:debugging
- Select: "Enable add-on debugging"
- Click on: "Load Temporary Add-onβ¦"
- Open the newly created folder "dist" from the project folder, and choose the "manifest.json" file.
- Thats it.
MIT