A template for implementing Plotly.js
+ Three.js
, using Vite
, and deploying on Vercel
.
Download Node.js. Run this followed commands:
# Install dependencies (only the first time)
npm install
# Run the local server at localhost:8080
npm run dev
# Build for production in the dist/ directory
npm run build
# Deploy on Vercel
npm run deploy