This is a starter template for building a Chrome Extension. It includes a basic manifest file and a popup page.
- Vite
- React
- Typescript
- Vitest
- Example Code
- Storage
- content script
- background script
- popup page
- options page
- Use this template to create a new repository
- Use Vscode to open the project
- setup the project
pnpm install
pnpm build
pnpm run watch
- Open the Extension Management page by navigating to chrome://extensions.
- Load
dist
directory
some test files in /src/background/test
directory, you can write your owner tests.
pnpm test