gk-search
gk search
A Vue component for gk-chat into your application.
Project setup
npm install --registry=https://registry.npm.org
Installation
npm install @gk/search
Usage
import { SearchWindow } from "@gk/search"
<SearchWindow base_url='YOUR_URL' anon_key='YOUR_ANON_KEY' />
Usage hooks
usage hooks custom ui
import { useChat } from "@gk/search"
const { input handleInputChange, messages, loading } = useChat()
//index.vue
return (
<div>
<div>
{messages.map((msg, i) => <p key={i}>{msg}</p>)}
</div>
<div>
<input v-model={input} />
<button onClick={handleInputChange}>Send</button>
</div>
</div>
)
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.45 | ~3.2.25 | MIT | |
| 0.0.44 | ~3.2.25 | MIT | |
| 0.0.43 | ~3.2.25 | MIT | |
| 0.0.42 | ~3.2.25 | MIT | |
| 0.0.41 | ~3.2.25 | MIT | |
| 0.0.40 | ~3.2.25 | MIT | |
| 0.0.39 | ~3.2.25 | MIT | |
| 0.0.38 | ~3.2.25 | MIT | |
| 0.0.37 | ~3.2.25 | MIT | |
| 0.0.36 | ~3.2.25 | MIT | |
| 0.0.35 | ~3.2.25 | MIT | |
| 0.0.34 | ~3.2.25 | MIT | |
| 0.0.33 | ~3.2.25 | MIT | |
| 0.0.32 | ~3.2.25 | MIT | |
| 0.0.31 | ~3.2.25 | MIT | |
| 0.0.30 | ~3.2.25 | MIT | |
| 0.0.29 | ~3.2.25 | MIT | |
| 0.0.28 | ~3.2.25 | MIT | |
| 0.0.27 | ~3.2.25 | MIT | |
| 0.0.26 | ~3.2.25 | MIT | |
| 0.0.25 | ~3.2.25 | MIT | |
| 0.0.24 | ~3.2.25 | MIT | |
| 0.0.23 | ~3.2.25 | MIT | |
| 0.0.22 | ~3.2.25 | MIT | |
| 0.0.21 | ~3.2.25 | MIT | |
| 0.0.20 | ~3.2.25 | MIT | |
| 0.0.19 | ~3.2.25 | MIT | |
| 0.0.17 | ~3.2.25 | MIT | |
| 0.0.16 | ~3.2.25 | MIT | |
| 0.0.15 | ~3.2.25 | MIT |
Showing the latest 30 of 40. See every release on npm