A reusable Slidev presentation template with Miragon branding, custom Vue components, and addon support for BPMN and Excalidraw.
npm install
npm run devYour presentation opens at http://localhost:3030
| Component | Description | Example |
|---|---|---|
| IconCard | Card with large emoji icon | <IconCard icon="🚀" title="Title" description="Text" color="blue"></IconCard> |
| FeatureBox | Colored left-border highlight box | <FeatureBox color="green" title="Title">Content</FeatureBox> |
| AlertBox | Tip/info callout box | <AlertBox label="Tip">Content</AlertBox> |
| StepCard | Numbered step card | <StepCard number="1" title="Step" color="blue">Description</StepCard> |
| StatusBadge | Status indicator with emoji | <StatusBadge emoji="✅" text="Done" status="recommended"></StatusBadge> |
| LogoChip | Technology logo chip (Iconify) | <LogoChip label="logos:java"></LogoChip> |
| SectionBadge | Chapter/section label | <SectionBadge text="Chapter" number="1"></SectionBadge> |
├── slides.md # Entry point — frontmatter + src imports only
├── pages/ # One file per chapter
│ └── chapter-1-example.md
├── components/ # Reusable Vue components
├── styles/theme.css # Miragon color system
├── global-top.vue # Logo header overlay
├── public/images/ # Brand logos (komet.svg, logo.svg)
├── package.json
└── CLAUDE.md # AI coding rules
- Edit
slides.md— Update the title, subtitle, and frontmatter - Create chapter pages — Add new
.mdfiles inpages/namedchapter-<n>-<topic>.md - Register pages — Add
src: ./pages/<name>.mdentries inslides.md - Use layouts — Set
layout: two-cols,section,intro,image-right, etc. in frontmatter - Add images — Place files in
public/images/and reference as/images/filename.png - BPMN/Excalidraw — Place files in
public/bpmn/orpublic/excalidraw/and use the addon components
Edit styles/theme.css to customize:
:root {
--miragon-blue: #335DE4;
--miragon-green: #00E676;
}npm run dev # Start dev server
npm run build # Build for production
npm run export # Export to PDF
npm run export-notes # Export speaker notes