1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10: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({
components: {
inner: require('./components/inner'),
landing: require('./components/landing')
inner: require('./modules/inner/components/inner'),
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: {
searchmatch: require('./modals/searchMatch'),
searchmatch: require('./search-match'),
navigation: require('./navigation'),
chat: require('./chat'),
lobby: require('./lobby'),
deckBuilder: require('./deckBuilder')
lobby: require('./../../lobby/components/lobby'),
deckBuilder: require('./../../deck-builder/components/deck-builder'),
}
};

View File

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

View File

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

View File

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

View File

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