home / skills / eng0ai / eng0-template-skills / chrome-extension-boilerplate-react-vite

chrome-extension-boilerplate-react-vite skill

/chrome-extension-boilerplate-react-vite

npx playbooks add skill eng0ai/eng0-template-skills --skill chrome-extension-boilerplate-react-vite

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
1.1 KB
---
name: chrome-extension-boilerplate-react-vite
description: Chrome Extension with React, Vite, and TypeScript.
---

# Chrome 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

```bash
git clone --depth 1 https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite.git .
```

If the directory is not empty:

```bash
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)

```bash
rm -rf .git
git init
```

### 3. Install Dependencies

```bash
pnpm install
```

## Build

```bash
pnpm build
```

## Development

```bash
pnpm dev
```

## Loading Extension

1. Build the extension
2. Open Chrome and go to `chrome://extensions/`
3. Enable "Developer mode"
4. Click "Load unpacked" and select the `dist` folder