RepoPilot

slidevjs / slidev

Search slidevjs/slidev

GitHub

Get started

Taken from the repository's own files on 24 Oct 2026. RepoPilot has not run these commands.

Prerequisites

Commands

package.json
TaskRunWhat it runs
devpnpm run devturbo run dev --filter="./packages/*"
buildpnpm run buildturbo run build --filter="./packages/*"
testpnpm run testvitest test
lintpnpm run linteslint . --cache
typecheckpnpm run typecheckvue-tsc --noEmit

Install and use

README.md

Try it Online ⚡️

sli.dev/new

Init Project Locally

Install Node.js >= 22.12.0 and run the following command:

npm init slidev

Documentation: English | 中文文档 | Français | Español | Русский | Português-BR

Discord: chat.sli.dev

For a full example, you can check the demo folder, which is also the source file for my previous talk.

Open README.md

Developing

CONTRIBUTING.md

To build all the packages at once, run the following command on the project root

pnpm build

Build with watch mode

pnpm dev

Run Demo

To run Slidev locally, you can run

pnpm demo:dev

Or with the real-world example Composable Vue:

pnpm demo:composable-vue

The server will restart automatically every time the builds get updated.

Before you open a PR

Run the full local gate:

pnpm verify   # build → typecheck → lint → test

Note: tests require a prior build, because workspace packages resolve to their built dist/. pnpm verify handles this ordering for you.

Open CONTRIBUTING.md