koel/resources/assets/js/main.js

30 lines
640 B
JavaScript
Raw Normal View History

2016-11-26 03:25:35 +00:00
import Vue from 'vue'
2016-12-09 08:23:40 +00:00
import Raven from 'raven-js'
import RavenVue from 'raven-js/plugins/vue'
2017-01-14 13:09:38 +00:00
import { VirtualScroller } from 'vue-virtual-scroller'
2016-06-25 10:15:57 +00:00
2016-11-26 03:25:35 +00:00
import { event } from './utils'
import { http } from './services'
2016-12-09 08:23:40 +00:00
Raven
.config('https://766d8f0fc072470ba5ea0ef253fafc89@sentry.io/120890')
.addPlugin(RavenVue, Vue)
.install()
2017-01-14 13:09:38 +00:00
Vue.component('virtual-scroller', VirtualScroller)
2016-01-26 06:24:23 +00:00
/**
2016-07-08 04:46:15 +00:00
* For Ancelot, the ancient cross of war
* for the holy town of Gods
* Gloria, gloria perpetua
* in this dawn of victory
2016-01-26 06:24:23 +00:00
*/
2016-06-25 05:24:55 +00:00
new Vue({
2016-06-25 16:05:24 +00:00
el: '#app',
render: h => h(require('./app.vue')),
2016-11-26 03:25:35 +00:00
created () {
event.init()
http.init()
}
})