WangSiTu / chrome-extension-boilerplate-react-vite

Chrome Extension Boilerplate with React + Vite + Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

Chrome Extension Boilerplate with
React + Vite + TypeScript

GitHub action badge hits

This project is listed in the Awesome Vite

Table of Contents

Intro

This boilerplate is made for creating chrome extensions using React and Typescript.

The focus was on improving the build speed and development experience with Vite.

Features

Installation

Procedures

  1. Clone this repository.
  2. Change name and description in package.json => Auto synchronize with manifest
  3. Run yarn install or npm i (check your node version >= 16.6, recommended >= 18)
  4. Run yarn dev or npm run dev
  5. Load Extension on Chrome
    1. Open - Chrome browser
    2. Access - chrome://extensions
    3. Check - Developer mode
    4. Find - Load unpacked extension
    5. Select - dist folder in this project (after dev or build)
  6. If you want to build in production, Just run yarn build or npm run build.

Screenshots

New Tab

Popup

popup

Sample

Documents

Star History

Star History Chart


Thanks To

Jetbrains Jackson Hong
JetBrains Logo (Main) logo. Jackson Hong

Jonghakseo

About

Chrome Extension Boilerplate with React + Vite + Typescript

License:MIT License


Languages

Language:TypeScript 65.5%Language:JavaScript 23.4%Language:CSS 7.3%Language:HTML 3.3%Language:SCSS 0.5%