main.view--chat
header
h2 Chat Page
article(v-if="profile.isLoggedIn && target")
h3 {{ profile.id }}
span chatting with: {{ target.profile_id }}
p subscriptions: {{ profile.chatter.subscriptions }}
ul(id="messages").w-flex.column
li(v-for="message, i in messages" class="pa1")
w-card.w-flex.row
article
p {{ message.message }}
footer
p {{ message.publisher }} | {{ message.timetoken }}
w-button(class="my12" @click="openDrawer = i" text) setting
w-drawer(v-model="openDrawer" absolute width="160px")
p some settings things
input(v-model="toSend" @keyup.enter="sendMessage")
button(@click="sendMessage") send
p(v-else-if="profile.isLoggedIn && !target") No match found between profile {{ $route.params.pid }} and {{profile.id}}...
p(v-else) Loading...
MainNav