mirror of
https://github.com/exane/not-gwent-online
synced 2025-11-08 09:08:40 +00:00
add routing
This commit is contained in:
5
site/client/app/components/deckBuilder.js
Normal file
5
site/client/app/components/deckBuilder.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
|
||||
template: "<h2>deckbuilder hier</h2>"
|
||||
|
||||
};
|
||||
@@ -13,7 +13,8 @@ module.exports = {
|
||||
navigation: require('./navigation'),
|
||||
chat: require('./chat'),
|
||||
|
||||
lobby: require('./lobby')
|
||||
lobby: require('./lobby'),
|
||||
deckBuilder: require('./deckBuilder')
|
||||
}
|
||||
|
||||
};
|
||||
@@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
|
||||
template: require('../views/lobby.html'),
|
||||
template: "<h2>lobby hier</h2>"
|
||||
|
||||
};
|
||||
@@ -7,10 +7,6 @@ module.exports = {
|
||||
inherit: true,
|
||||
|
||||
methods: {
|
||||
changeView: function(view) {
|
||||
router.changeRoute(view);
|
||||
},
|
||||
|
||||
searchMatch: function() {
|
||||
this.modal = true;
|
||||
// trigger match functions
|
||||
|
||||
Reference in New Issue
Block a user