mirror of
https://github.com/koel/koel
synced 2024-12-23 11:03:05 +00:00
13 lines
362 B
JavaScript
13 lines
362 B
JavaScript
|
import $ from 'jquery';
|
||
|
window.Vue = require('vue');
|
||
|
Vue.use(require('vue-resource'));
|
||
|
Vue.http.options.root = '/api';
|
||
|
Vue.http.headers.common['X-CSRF-TOKEN'] = $('meta[name="csrf-token"]').attr('content');
|
||
|
Vue.config.debug = false;
|
||
|
|
||
|
// Exit light,
|
||
|
// Enter night,
|
||
|
// Take my hand,
|
||
|
// We're off to never never land.
|
||
|
new Vue(require('./app.vue')).$mount('body');
|