Update Existing Project
- Copy files from the old project except the node folder.
- Replace package.json with the new one
pnpm install
- Follow instruction if there are any of them.
pnpm dev
Setup & Install
Official Slidev suggests to use pnpm
instead of npm
for optimum performance and less headache during the updates.
Slidev Project
# Goto Root folder where you want to create a new slidev presentation
pnpm create slidev
# Open package.json file and change the version of slidev dependency
"@slidev/cli": "^0.51.0-beta.4"
# Run the installation again
pnpm install
Developing The Presentation
# Compile slidev
pnpm run dev
Publishing
pnpm run build --base /Slidev_Presentations/week03_cod_208/dist/
# if it throws error related to chromium do the following
pnpm add -D playwright-chromium
pnpm approve-builds
# install Logos `<logos-[name] />`
pnpm add @iconify-json/logos
# test again
pnpm run build --base /Slidev_Presentations/2025-2026/week03_cod_207-Computational_Thinking/dist --wait-until none
# before uploading to Github, open .gitignore file and remove <dist> folder line.
Exporting
# Export as pdf - if there are missing contents
slidev export --wait 1000
Themes
- Academic Style Theme with tons of features Neversink
- Apple Style Apple Basic
- Academic style with footnote component and pagination Academic
- Another academic theme, but bad interface Academic 2