jsda <command> [options]Start the development server.
jsda serve
jsda serve --port=8080| Option | Description |
|---|---|
--port=<number> |
Server port (default: from config or 3000) |
Build static assets for production. PDF entries are skipped.
jsda build
jsda build --output=./public| Option | Description |
|---|---|
--output=<dir> |
Output directory (default: from config or ./dist) |
Build static assets and PDF entries for production.
jsda build-pdf
jsda build-pdf --output=./publicPDF rendering requires puppeteer installed in the project.
| Option | Description |
|---|---|
--output=<dir> |
Output directory for regular static outputs. PDFs use static.pdf.outputDir when configured. |
Start SSG watcher for development. Watches sourceDir for changes and rebuilds automatically. PDF entries are skipped.
jsda ssg
jsda ssg --output=./publicStart SSG watcher with PDF generation enabled.
jsda ssg-pdf
jsda ssg-pdf --output=./publicScaffold a new JSDA project with a complete runnable structure.
jsda scaffoldCreates project structure by fetching the official JSDA Template.
See the Live Demo or read the Scaffolding Guide for more details on the included structure.
| Option | Description |
|---|---|
--help |
Show help message |
--version |
Show version number |