C
chrome-extension-boilerplate-react-vite
About chrome-extension-boilerplate-react-vite
A React, Vite, and TypeScript boilerplate for building Chrome extensions. It provides a development and build setup and instructions for loading the compiled extension in Chrome.
Key features
- 01React interface
- 02Vite build setup
- 03TypeScript support
- 04pnpm-based setup
Use cases
- 01Starting a Chrome extension project
- 02Building an extension with React and TypeScript
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ rebyteai-template/ rebyte-skills --skill chrome-extension-boilerplate-react-viteAfter installing, type/chrome-extension-boilerplate-react-vitein Claude Code to confirm it loaded.
Details
From the project READMEChrome Extension Boilerplate
Chrome Extension Boilerplate with React + Vite + TypeScript.
Tech Stack
- Framework: React
- Build Tool: Vite
- Language: TypeScript
- Package Manager: pnpm
Setup
1. Clone the Template
git clone --depth 1 https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite.git .
If the directory is not empty:
git clone --depth 1 https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. Remove Git History (Optional)
rm -rf .git
git init
3. Install Dependencies
pnpm install
Build
pnpm build
Development
pnpm dev
Loading Extension
- Build the extension
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
distfolder
Comments
Markdown supported