Command-line tools for creating, building, and exporting presentations.
Create
npx @reactslides/cli create my-presentationnpx @reactslides/cli create my-slides --template corporatenpx @reactslides/cli create my-docs --mode markdown
Development
Terminal
npm run devStart the development server with hot reload.
Build
Terminal
npm run buildBuild the presentation for production.
Export
bash
# Export to PDF
npx reactslides export --pdf
# Export to PNG images
npx reactslides export --png
# Export both formats
npx reactslides export --pdf --pngPreview
Terminal
npm run previewPreview the production build.