Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 2.38 KB

README.md

File metadata and controls

83 lines (51 loc) · 2.38 KB

WXT Starter Template

A WXT powered WebExtension (Chrome, FireFox, etc.) starter template.

Features

Pre-packed

WebExtension Libraries

  • wxt - Next-gen Web Extension Framework

Vite Plugins

Vue Plugins

  • VueUse - collection of useful composition APIs

UI Frameworks

  • UnoCSS - the instant on-demand Atomic CSS engine

Coding Style

Dev tools

Use the Template

GitHub Template

Create a repo from this template on GitHub.

Clone to local

If you prefer to do it manually with the cleaner git history

If you don't have pnpm installed, run: npm install -g pnpm

npx degit elonehoo-starter/wxt my-webext
cd my-webext
pnpm i

Development

pnpm dev

For Firefox developers, you can run the following command instead:

pnpm dev:firefox

Build

To build the extension, run

pnpm build

Credits

This template is originally made for the antfu/vitesse-webext browser extension.