This is a base template for chrome extensions.
It uses manifest v3 now that v2 is going to be deprecated by 2023
-
npm install
to install all dependencies -
Perform your changes under
src
folder -
run
npm run build
-
Install / reload extension on chrome under
chrome://extensions
(make sure you install from thepublic
folder)
-
Content Script: Content script is defined by default
-
Popup: Small popup window opens when you click the extension icon
-
Typescript: Typescript is used in favor of javascript
-
Laravel-mix: Laravel-mix is used in favor of webpacker in order to transform typescript, sass, and other dependencies into highly-optimized code for the web
-
*-loader: Loaders for laravel-mix to work