Generate Nuxt 3 modules, plugins, and composables with TypeScript
Create Nuxt 3 module/plugin for:
Name: {{NAME}}
Type: {{TYPE}} (module/plugin/composable)
Features: {{FEATURES}}
Generate complete Nuxt structure:
1. **Module Definition:**
- defineNuxtModule
- Module options
- Setup function
- Auto-imports
- Components registration
2. **Plugin:**
- defineNuxtPlugin
- Provide/inject pattern
- Client/server only
- Parallel execution
3. **Composables:**
- useState usage
- useFetch/useAsyncData
- Custom composables
- Shared state
4. **Server:**
- API routes
- Server middleware
- Server utilities
- Event handlers
5. **Runtime Config:**
- Public runtime config
- Private runtime config
- Environment variables
6. **Type Augmentation:**
- Module types
- Plugin types
- Composable types
- App config types
7. **Auto-imports:**
- Composables auto-import
- Components auto-import
- Utils auto-import
8. **Testing:**
- @nuxt/test-utils
- Component testing
- Server testing
- E2E with Playwright
9. **Documentation:**
- Nuxt module docs
- Playground setup
- Examples
Include module publishing setup.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{NAME][{TYPE][{FEATURES]