Refer to Spline library for Snap!
Use splinetool/react-spline to interoperate with Spline project.
Use postMessage(dynatalk was built on it) to pass messages between Spline element(import Spline from "@splinetool/react-spline";
) and Snap!.
npm start
npm run build
Refer to create-react-app Deployment: GitHub Pages
The current project is deployed here: https://wwj718.github.io/Snap-Spline-Demo/