Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 804 Bytes

File metadata and controls

22 lines (14 loc) · 804 Bytes

cables.gl vue integration and component

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"

requirements

  • nodejs and npm in a current version

installation

  • check out this repository
  • run npm install
  • run npm run dev
  • browser will open and show two patches overlaying