⚙️

Installation

Estimated reading time: 3 min

Set up your development environment to start building presentations with Narro.

Prerequisites

  • Node.js 18.0 or higher
  • npm, pnpm, or yarn package manager
  • A code editor (VS Code recommended)

Create a New Project

npx @reactslides/cli create my-presentation

This will prompt you to choose a template and set up your project.

Available Templates

npx @reactslides/cli create my-slides --template minimal
npx @reactslides/cli create my-slides --template corporate
npx @reactslides/cli create my-slides --template developer
npx @reactslides/cli create my-slides --template creative
npx @reactslides/cli create my-slides --template markdown

Project Structure

bash
my-presentation/
├── src/
│   ├── App.tsx          # Main presentation component
│   ├── slides/          # Individual slide components
│   │   ├── Intro.tsx
│   │   ├── Features.tsx
│   │   └── Conclusion.tsx
│   └── main.tsx         # Entry point
├── public/              # Static assets
├── package.json
├── tsconfig.json
└── vite.config.ts

Start Development

Terminal
npm run dev

Open http://localhost:5173 to see your presentation.