Client prototype, signaling server & PWA client
This commit is contained in:
29
client/src/components/usernameChooser.vue
Normal file
29
client/src/components/usernameChooser.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<div>
|
||||
<h3>Enter a username</h3>
|
||||
<b-field position="is-centered">
|
||||
<b-input :value="name" v-model="name" placeholder="..."></b-input>
|
||||
<button class="button is-success" @click="connect">Login</button>
|
||||
</b-field>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'UsernameChooser',
|
||||
data () {
|
||||
return {
|
||||
name: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async sendName () {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user