1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00

redefine app structure

This commit is contained in:
devfake 2015-06-23 10:36:29 +02:00
parent 8ce1038c8a
commit bb503c1d03
18 changed files with 14 additions and 18 deletions

View File

@ -7,8 +7,8 @@ Vue.http.headers.common['X-CSRF-TOKEN'] = $('.token').attr('content');
var app = Vue.extend({ var app = Vue.extend({
components: { components: {
inner: require('./components/inner'), inner: require('./modules/inner/components/inner'),
landing: require('./components/landing') landing: require('./modules/landing/components/landing')
} }
}); });

View File

@ -1,5 +0,0 @@
module.exports = {
template: require('../views/deckBuilder.html')
};

View File

@ -0,0 +1,5 @@
module.exports = {
template: require('../views/deck-builder.html')
};

View File

@ -11,12 +11,12 @@ module.exports = {
}, },
components: { components: {
searchmatch: require('./modals/searchMatch'), searchmatch: require('./search-match'),
navigation: require('./navigation'), navigation: require('./navigation'),
chat: require('./chat'), chat: require('./chat'),
lobby: require('./lobby'), lobby: require('./../../lobby/components/lobby'),
deckBuilder: require('./deckBuilder') deckBuilder: require('./../../deck-builder/components/deck-builder'),
} }
}; };

View File

@ -1,5 +1,3 @@
var router = require('./../routes');
module.exports = { module.exports = {
template: require('../views/navigation.html'), template: require('../views/navigation.html'),

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
template: require('../../views/modals/searchMatch.html'), template: require('./../views/search-match.html'),
inherit: true, inherit: true,

View File

@ -1,8 +1,6 @@
var router = require('./../routes');
module.exports = { module.exports = {
template: require('../views/landing.html'), template: require('./../views/landing.html'),
inherit: true, inherit: true,
@ -13,7 +11,7 @@ module.exports = {
}, },
components: { components: {
login: require('./modals/login') login: require('./login')
}, },
ready: function() { ready: function() {

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
template: require('../../views/modals/login.html'), template: require('./../views/login.html'),
inherit: true, inherit: true,