https://github.com/wxt-dev/module-template
Template repo for a WXT module
https://github.com/wxt-dev/module-template
Last synced: 5 months ago
JSON representation
Template repo for a WXT module
- Host: GitHub
- URL: https://github.com/wxt-dev/module-template
- Owner: wxt-dev
- Created: 2024-06-25T20:42:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T16:34:56.000Z (about 2 years ago)
- Last Synced: 2025-12-08T21:58:40.638Z (8 months ago)
- Language: TypeScript
- Size: 68.4 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Module
My new WXT module for doing amazing things.
## Features
- ⛰ Foo
- 🚠 Bar
- 🌲 Baz
## Installation
Install the module to your WXT extension with one command:
```bash
pnpm i my-module
```
Then add the module to your `wxt.config.ts` file:
```ts
export default defineConfig({
modules: ["my-module"],
})
```
That's it! You can now use My Module in your WXT extension ✨
## Contribution
Local development
```bash
# Install dependencies
pnpm install
# Generate type stubs
pnpm wxt prepare
# Develop test extension
pnpm dev
# Build the test extension
pnpm dev:build
# Run prettier, publint, and type checks
pnpm check
```