Installation (v2)
Prerequisites
- Node.js: Version 18.0.0 or higher
- npm, yarn, or pnpm package manager
Installation Methods
Global Installation
npm install -g @litodocs/cli@2# orpnpm add -g @litodocs/cli@2Using npx
npx @litodocs/cli@2 dev -i ./my-docsAvailable Templates
Lito v2 introduced multi-framework support:
| Template | Command Flag |
|---|---|
| Astro (default) | --template astro |
| React Router | --template react |
| Next.js | --template next |
| Vue | --template vue |
| Nuxt | --template nuxt |
Next Steps
- Quick Start — Build your first site with MDX
Was this page helpful?