Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.43 KB

1-setup.md

File metadata and controls

30 lines (25 loc) · 1.43 KB

Setup

  1. Run npm install (check your node version >= 16)
  2. Load Extension:
    1. Make sure you have npm run dev running for hot reloading.
    2. Chrome and Edge
      1. Change the src/config/buildTarget.ts file so that buildTarget = TARGETS.CHROME.
      2. Open - Chrome/Edge browser.
      3. Access - chrome://extensions / edge://extensions.
      4. Check - Developer mode.
      5. Find - Load unpacked extension.
      6. Select - dist/chromium folder in this project (after dev or build)
    3. Firefox:
      1. Change the src/config/buildTarget.ts file so that buildTarget = TARGETS.FIREFOX.
      2. run npm run load:firefox.
      3. It should open a web-ext faux FireFox browser with the extension running.
  3. If you want to build for production, run npm run build. Remember to create separate builds for Firefox and Chromium by editing src/config/buildTarget.ts.

Tailwind can be configured in the tailwind.config.cjs file. See doc link below.


Tech Docs