Skip to content

useWebRtc

ts
import { useWebRtc } from 'yjs-vue'

const provider = useWebRtc('counter-example-yjs-vue-cursor', {
  signaling: ['wss://example.com'],
})