Improve demo

This commit is contained in:
Gennady Grishkovtsov
2018-08-09 22:22:56 +03:00
parent a573538bac
commit f210a001da
4 changed files with 54 additions and 19 deletions

View File

@@ -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)
})