Steps
Numbered step-by-step guides
Steps provide a numbered sequence for tutorials and guides.
Basic Steps
1
Install the packagenpm install @jamdesk/cli2
Initialize your projectjamdesk init3
Start the dev serverjamdesk devSteps Without Titles
Steps work without titles too:
Clone the repository from GitHub.
Install dependencies with npm install.
Run the development server.
Rich Content in Steps
Each step can contain any content:
1
Configure your APICreate a configuration file:
title="config.json"
{
"apiKey": "your-api-key",
"endpoint": "https://api.example.com"
}Keep your API key secret! Never commit it to version control.
2
Make your first requestUse the SDK to make a request:
const response = await client.getData();
console.log(response);Props
Step
| Prop | Type | Description |
|---|---|---|
title | string | Optional step title |
stepNumber | number | Auto-assigned by Steps container |