A Vue Composable for the MediaRecorder API
- 🎥 Record audio and video streams
- 📦 Auto import for Nuxt
- 🎨 TypeScript support
- 📚 Documentation
pnpm add -D @orbisk/vue-use-media-recorder
Auto import for Nuxt is supported. Just add the module to your nuxt.config
:
export default defineNuxtConfig({
modules: ['@orbisk/vue-use-media-recorder/nuxt']
})
Build the package:
pnpm build
Run the development environment (vite):
pnpm dev
Run the docs:
pnpm dev:docs
Build the docs:
pnpm build:docs
Lint the package:
pnpm lint
Run test suite:
pnpm test
Start Nuxt dev environment:
pnpm dev:nuxt
Build Nuxt environment:
pnpm build:nuxt
Preview Nuxt environment:
pnpm start:nuxt