Move the view components into a views folder rather than mixing them in with the other components.

This commit is contained in:
Oliver-Akins 2020-09-27 16:12:35 -06:00
parent 703d03da3b
commit 3168adb3a5
4 changed files with 192 additions and 0 deletions

35
src/views/Lobby.vue Normal file
View file

@ -0,0 +1,35 @@
<template>
<div id="game_code_entry">
<h1>
Secret Hitler Online
</h1>
<div>
<div
v-for="player in players"
:key="player.id"
class="player"
></div>
</div>
</div>
</template>
<script>
export default {
name: 'GameLobby',
components: {},
data() {return {
players: []
}},
methods: {},
}
</script>
<style lang="stylus">
@import "../theme.styl"
</style>
<style lang="stylus" scoped>
@import "../theme.styl"
</style>