| name | build-and-deploy |
| description | Build and deploy this Slidev presentation. Use when building, deploying, or preparing the project for production. |
Build and Deploy nCine Presentation
CRITICAL: For Vercel, use
vercel build --prodthenvercel deploy --prebuilt --prod.
Tech Stack
- Slidev (Vue-based presentation framework)
- npm package manager
- Output directory:
dist
Workflow
1. Install Dependencies
npm install
2. Build
npm run build
3. Deploy
Vercel:
vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN
Netlify:
netlify deploy --prod --dir=dist
Development
To run locally:
npm run dev
This will start the Slidev server and open the presentation in your browser.