2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-10 16:42:29 +03:00

example update

This commit is contained in:
Metin Seylan
2016-05-10 00:39:16 +03:00
parent bfdac9ab09
commit bec25b3ab4
2 changed files with 52 additions and 2 deletions
+4 -1
View File
@@ -13,14 +13,17 @@
</head>
<body>
<div class="container">
<h1 class="text-center">Vue-Socket.io</h1>
<div class="container">
<div v-if="!join" id="join" class="text-center">
<form @submit.prevent="joinChat(name)">
<div class="form-group">
<input type="text" max="12" class="form-control input-lg text-center" v-model="name" placeholder="Name">
</div>
<button class="btn btn-primary btn-lg" type="submit">Join Chat</button>
<br>
<a href="https://github.com/metinseylan/vue-socket.io">Github</a>
</form>
</div>