0
0
Fork 0

Add the GameLobby as a view in the main app

This commit is contained in:
Oliver-Akins 2020-12-08 15:52:50 -07:00
parent 43304617d7
commit cbda79b46b

View file

@ -1,6 +1,7 @@
<template>
<div id="app" class="maximize">
<CreateJoin v-if="gameState == `login`" />
<GameLobby v-else-if="gameState == `lobby`" />
<Attributions />
</div>
</template>
@ -8,12 +9,14 @@
<script>
import AttributionsBar from "./components/Attributions";
import CreateJoinGame from "./views/CreateJoin";
import GameLobby from "./views/Lobby";
export default {
name: `App`,
components: {
"Attributions": AttributionsBar,
"CreateJoin": CreateJoinGame,
"GameLobby": GameLobby,
},
computed: {
gameState() {