diff --git a/client/src/App.vue b/client/src/App.vue index 0fcf7d44..06073bef 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -16,7 +16,8 @@ computed: { layout() { - return 'default-layout'; + console.log(this.$route.meta.layout); + return (this.$route.meta.layout || 'default') + '-layout'; } }, diff --git a/client/src/components/RoomEntry.vue b/client/src/components/RoomEntry.vue index 2264f1e8..c287d233 100644 --- a/client/src/components/RoomEntry.vue +++ b/client/src/components/RoomEntry.vue @@ -1,5 +1,5 @@ diff --git a/client/src/layouts/SimpleLayout.vue b/client/src/layouts/SimpleLayout.vue index a44ab87b..f4b6c493 100644 --- a/client/src/layouts/SimpleLayout.vue +++ b/client/src/layouts/SimpleLayout.vue @@ -1,3 +1,45 @@ + + + + diff --git a/client/src/pages/room.vue b/client/src/pages/room.vue index 9a6287d2..df9bb94a 100644 --- a/client/src/pages/room.vue +++ b/client/src/pages/room.vue @@ -22,8 +22,8 @@