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:
parent
8ce1038c8a
commit
bb503c1d03
@ -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')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
|
|
||||||
template: require('../views/deckBuilder.html')
|
|
||||||
|
|
||||||
};
|
|
@ -0,0 +1,5 @@
|
|||||||
|
module.exports = {
|
||||||
|
|
||||||
|
template: require('../views/deck-builder.html')
|
||||||
|
|
||||||
|
};
|
@ -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'),
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
@ -1,5 +1,3 @@
|
|||||||
var router = require('./../routes');
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
template: require('../views/navigation.html'),
|
template: require('../views/navigation.html'),
|
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
template: require('../../views/modals/searchMatch.html'),
|
template: require('./../views/search-match.html'),
|
||||||
|
|
||||||
inherit: true,
|
inherit: true,
|
||||||
|
|
@ -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() {
|
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
template: require('../../views/modals/login.html'),
|
template: require('./../views/login.html'),
|
||||||
|
|
||||||
inherit: true,
|
inherit: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user