This a demo of implementing a drag and drop functionality with Laminar, a Scala.js frontend library.
See demo here: https://laminar-drag-drop.surge.sh/
- In one terminal run
sbt ~fastLinkJS
- this will continuously rebuild the Scala.js output - In another terminal run
npm install
(only once) and thennpm run dev
- this will open Vite's preview server, which will automatically reload when you make any changes.