small component to load one or more cables.gl patches in your vue app
the app was created using npm init vue@latest,
check src/App.js for an example on how to load two patches, with default values and custom ones. src/components/CablesPatch.js contains the component.
to update your patches, put your exported files into public/patch or configure a different path when using the
component.
make sure to export as "single javascript file"
- nodejs and npm in a current version
- check out this repository
- run
npm install - run
npm run dev - browser will open and show two patches overlaying