Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 970 Bytes

README.md

File metadata and controls

82 lines (55 loc) · 970 Bytes

🪝 vue-use-media-recorder

A Vue Composable for the MediaRecorder API

Features

  • 🎥 Record audio and video streams
  • 📦 Auto import for Nuxt
  • 🎨 TypeScript support
  • 📚 Documentation

Installation

pnpm add -D @orbisk/vue-use-media-recorder

Nuxt

Auto import for Nuxt is supported. Just add the module to your nuxt.config:

export default defineNuxtConfig({
  modules: ['@orbisk/vue-use-media-recorder/nuxt']
})

Commands

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