mirror of
https://github.com/koel/koel
synced 2024-12-30 06:23:05 +00:00
12 lines
362 B
JavaScript
12 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');
|