Gun-Vue docs v0.21.4 • Docs
Gun-Vue docs v0.21.4 / Gun / useGun
Function: useGun()
useGun(
options
?):IGunInstance
<any
>
Instantiate a Gun instance for DB manipulations
Parameters
• options?: GunOptions
= ...
Gun options
Returns
IGunInstance
<any
>
Example
ts
import { useGun } from '@gun-vue/composables'
const gun = useGun()