Skip to content

Commit

Permalink
feat: vite auto import UseMediaRecorder component
Browse files Browse the repository at this point in the history
  • Loading branch information
OrbisK committed Nov 28, 2024
1 parent 2b40051 commit 8a94eac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/plugin/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import type { App } from 'vue'
import type { MediaRecorderPluginOptions } from '../types'
import type { MediaRecorderPluginOptions } from '@orbisk/vue-use-media-recorder'
import { UseMediaRecorder } from '@orbisk/vue-use-media-recorder'

export const MediaRecorderPlugin = {
install(_app: App, _options?: MediaRecorderPluginOptions) {
install(app: App, _options?: MediaRecorderPluginOptions) {
// app.provide(EXAMPLE, options?.example)

// Add auto imports

// app.component('Toggle', ToggleComponent)
app.component('UseMediaRecorder', UseMediaRecorder)
},
}

Expand Down

0 comments on commit 8a94eac

Please sign in to comment.