mirror of
https://github.com/kevin-DL/vue-audio-recorder.git
synced 2026-01-23 15:51:26 +00:00
Add custom header & minor refactoring
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import AudioPlayer from './components/player.vue'
|
||||
import AudioRecorder from './components/recorder.vue'
|
||||
import AudioPlayer from '@/components/player.vue'
|
||||
import AudioRecorder from '@/components/recorder.vue'
|
||||
|
||||
const components = {
|
||||
AudioPlayer,
|
||||
@@ -12,6 +12,8 @@ const components = {
|
||||
|
||||
this.installed = true
|
||||
|
||||
Vue.prototype.$eventBus = Vue.prototype.$eventBus || new Vue
|
||||
|
||||
Vue.component('audio-player', AudioPlayer)
|
||||
Vue.component('audio-recorder', AudioRecorder)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user