Vite Web Extension

screenshot of Vite Web Extension
react
vite
tailwind

Web extension template to build Chrome and Firefox extensions quickly. Setup with React 19, Typescript and TailwindCSS

Overview

This product is a boilerplate template for creating Chrome extensions using React, Typescript, and Tailwind CSS. It is built for improved developer experience and rapid building, utilizing Vite and Nodemon. The template is designed for Chrome manifest version 3, as manifest v2 extensions are no longer accepted since Jan 2022. While Firefox and other browsers do not yet support manifest v3, cross-browser usage is not encouraged. The template also includes a Chrome local/sync storage hook for React.

Features

  • React 18
  • TypeScript
  • Tailwind CSS
  • ESLint
  • Chrome Extension Manifest Version 3
  • Github Action to build and zip the extension

Summary

This product is a minimal boilerplate template for creating Chrome extensions using React, Typescript, and Tailwind CSS. It offers features such as React 18, TypeScript, Tailwind CSS, and Chrome Extension Manifest Version 3 support. The installation process involves cloning the repository, customizing the manifest.json file, installing dependencies, and loading the extension in Chrome. With its focus on simplicity and ease of use, this boilerplate aims to provide a quick start for developers looking to create Chrome extensions.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.