miaoihan / wxt

⚡ Next-gen Web Extension Framework

Home Page:https://wxt.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WXT Logo WXT

npm npm NPM Codecov

Next-gen framework for developing web extensions.

It's like Nuxt, but for Chrome Extensions

Get StartedInstallationConfigurationExamplesDiscord

Example CLI Output

Demo

wxt-demo.mp4

Quick Start

Bootstrap a new project:

pnpm dlx wxt@latest init <project-name>

Or see the installation guide to get started with WXT.

Features

  • 🌐 Supports all browsers
  • ✅ Supports both MV2 and MV3
  • ⚡ Dev mode with HMR & fast reload
  • 📂 File based entrypoints
  • 🚔 TypeScript
  • 🦾 Auto-imports
  • 🤖 Automated publishing
  • 🎨 Frontend framework agnostic: works with Vue, React, Svelte, etc
  • 🖍️ Quickly bootstrap a new project
  • 📏 Bundle analysis
  • ⬇️ Download and bundle remote URL imports

Contributors

About

⚡ Next-gen Web Extension Framework

https://wxt.dev

License:MIT License


Languages

Language:TypeScript 97.6%Language:CSS 1.4%Language:HTML 0.6%Language:Vue 0.2%Language:Svelte 0.2%Language:JavaScript 0.1%Language:SCSS 0.0%