slidevjs / slidev
Get started
Taken from the repository's own files on 24 Oct 2026. RepoPilot has not run these commands.
Prerequisites
node >=22.12.0from package.jsonpnpm@12.15.0from package.json
Commands
package.json| Task | Run | What it runs |
|---|---|---|
| dev | pnpm run dev | turbo run dev --filter="./packages/*" |
| build | pnpm run build | turbo run build --filter="./packages/*" |
| test | pnpm run test | vitest test |
| lint | pnpm run lint | eslint . --cache |
| typecheck | pnpm run typecheck | vue-tsc --noEmit |
Install and use
README.mdTry it Online ⚡️
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.
Developing
CONTRIBUTING.mdTo 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.