Arao documentation
Arao (the araojs package) is a slide library for technical talks on Vue 3 + Vite: a deck is a Vue file, slides are components, and every slide is drawn on one fixed canvas, the same on every screen and in the PDF.
New here? Getting started takes you from an empty folder to a deck on the screen and in a PDF.
Guides
How to do things, with examples.
| Page | What it covers |
|---|---|
| Concepts | the canvas, decks and slides, zones, steps, themes, Pug or HTML |
| The project | the folders, the scripts, createDeckApp, the list of decks |
| Slides and layouts | layouts (and writing your own), the header, body and footer zones, placing the body, lists and tables |
| Steps | revealing a slide bit by bit, reusable steps |
| Composition | a layout for the slide's structure, utility classes inside a block (.cols, .row, .stack…) |
| Code | Snippet: the code window and its highlights per step |
| Images and backgrounds | Img, Background, a slide's colour |
| Icons | Icon: sets, how they get into the build, licences |
| Presenting | keys, controls, the interface language, speaker notes, the presenter view and its timer |
| Themes | writing a theme, where themes are found, how tokens apply |
| Built-in themes | the six themes the library ships: their character, fonts, colours and contrast |
| Export to PDF | arao export, export mode, printing |
| Hosting | serving a built project, under any path |
| Extending | your own components and addons, useDeck, useSlide |
Reference
Every prop, slot, token, option and URL, exactly.
| Page | What it lists |
|---|---|
| Components | Deck, Slide and its layouts, Background, the utility classes, Img, Icon, Snippet, Notes, Agenda, the addons |
| Directives | v-step, v-step-from |
| Composables | useDeck(), useSlide() |
| Theme tokens | every --ar-* token and its default, the layouts' included |
| Vite plugin | arao() and its options |
| CLI | arao export, arao layouts and their options |
| URLs | paths, query parameters and the hash |
Elsewhere
- The Arao skill: the skill for coding agents writing decks (rules, gotchas, recipes, how to verify a deck). It ships with the package too, at
node_modules/araojs/skills/arao/. - Architecture: how the engine is built, for whoever works on Arao itself.
- CONTRIBUTING.md: developing, testing and releasing Arao.
- examples/: the small decks behind the pictures in these pages.
- playground/: a tiny slides project on the library's source.