Skip to content

Latest commit

 

History

History

README.md

vpype-js demo

Single-page demo of vpype-js: drop-your-SVG plotter optimizer, pipeline playground with shareable URLs, and a live-plotted example gallery.

Develop

# the demo consumes the library via file:.. -> build the root dist first
cd .. && npm run build && cd demo
npm install
npm run dev

When the library changes, rebuild the root dist/ (vite picks it up on reload; restart npm run dev if the prebundle cache acts up).

Build / deploy

npm run build    # outputs demo/dist, relative base -> deployable to any subpath
npm run preview