solid-chrome-extension-template
solid-chrome-extension-template copied to clipboard
Chrome Extension Boilerplate with SolidJS + Vite + TypeScript + Manifest V3 + Hot Relaod
Chrome Extension Boilerplate with
SolidJS + Vite + TypeScript + Manifest V3 + Hot Relaod
Intro
This boilerplate is made for creating chrome extensions using SolidJS and Typescript.
The focus was on improving the build speed and development experience with Vite.
Features
- SolidJS
- TypeScript
- Jest
- Vite
- SASS
- ESLint
- Prettier
- Chrome Extension Manifest Version 3
- Hot Reload (Live reload)
Installation
Procedures
- 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
.
Screenshots
