mirror of
https://github.com/kevin-DL/vue-audio-recorder.git
synced 2026-01-23 15:51:26 +00:00
Improve demo
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
import Vue from 'vue'
|
||||
import axios from 'axios'
|
||||
import AudioRecorder from '../src/audio-recorder'
|
||||
import app from './app'
|
||||
|
||||
Vue.config.productionTip = false
|
||||
Vue.prototype.$http = axios
|
||||
|
||||
new Vue({
|
||||
el: '#app',
|
||||
components: {AudioRecorder},
|
||||
methods: {
|
||||
callback (msg) {
|
||||
console.debug('Event: ', msg)
|
||||
}
|
||||
}
|
||||
render: h => h(app)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user