1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-27 03:46:54 +00:00
not-gwent-online/site/client/app/app.js

26 lines
434 B
JavaScript
Raw Normal View History

2015-06-21 11:09:29 +00:00
var Vue = require('vue');
var router = require('./routes');
2015-06-22 14:30:11 +00:00
require('../../../public/Config.js');
2015-06-21 11:09:29 +00:00
Vue.use(require('vue-resource'));
Vue.http.headers.common['X-CSRF-TOKEN'] = $('.token').attr('content');
var app = new Vue({
el: 'body',
data: {
name: '',
view: '',
section: ''
},
components: {
2015-06-22 09:57:22 +00:00
inner: require('./components/inner'),
landing: require('./components/landing')
2015-06-21 11:09:29 +00:00
}
});
2015-06-21 19:20:17 +00:00
//router.init(app);