/
/
| title | Examples |
| description | Runnable examples demonstrating todo operations |
| tags | examplescross-vault |
This directory contains standalone examples that demonstrate the todo app's data model and operations.
| File | Description |
|---|---|
api-usage.ts | Programmatic CRUD operations on todos |
One of Gitian's features is cross-vault wikilink resolution. These links point to files in other vaults within this repository:
src/)src/components/)docs/)docs/)examples/ directory is its own vault, links to src/ files and docs/ pages still work.
npx tsx examples/api-usage.ts
This will output the todo statistics and pending items to the console.