Add base lobby component
This commit is contained in:
parent
04958febfa
commit
13b27056db
1 changed files with 35 additions and 0 deletions
35
src/components/Lobby.vue
Normal file
35
src/components/Lobby.vue
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue