You can either import it from a CDN or install it with npm.
If you want to use the CDN, import the script in your html:
Then, you can use the global
SignalWire variable in your application.
If you want to install the library locally, use npm:
npm i @signalwire/js
Then, import it into your application:
import SignalWire from '@signalwire/js'
Updated 2 months ago