- createChatClient: bearer auth, one refresh-and-retry on 401, 422 field errors
- useChat over useState: host bootstrap, open a channel, send
- ChatPage, ChatChannelList, ChatMessageList, ChatComposer
- runtime config chat.apiBase, public.chat.{apiBase,channelsApiBase,botsApiBase,hostApiBase}
6 lines
71 B
Vue
6 lines
71 B
Vue
<template>
|
|
<ClientOnly>
|
|
<ChatPage />
|
|
</ClientOnly>
|
|
</template>
|