Boilerplate for Chrome Extension Svelte Typescript project.
- Tailwind CSS – is in the tailwindcss branch
# install dependencies
npm i
# build files to `/dist` directory
# HMR for extension pages and content scripts
npm run dev
- Open the Extension Management page by navigating to
chrome://extensions
. - Enable Developer Mode by clicking the toggle switch next to
Developer mode
. - Click the
LOAD UNPACKED
button and select the/dist
directory.
# build files to `/dist` directory
$ npm run build