Skip to content

fix: pin @slidev/cli to 52.15.2 to fix presenter view navigation#9

Merged
lhoupert merged 1 commit into
mainfrom
slides/rung-polish-and-live-context
Jun 28, 2026
Merged

fix: pin @slidev/cli to 52.15.2 to fix presenter view navigation#9
lhoupert merged 1 commit into
mainfrom
slides/rung-polish-and-live-context

Conversation

@lhoupert

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Built with --base /foss4g2026-talk/, served dist, drove presenter navigation headlessly: #/presenter/4 → 5 → 6 → 5, no base doubling, no 404.
  • Confirm presenter view skipping on the live GitHub Pages deploy after merge.

Revert once slidevjs/slidev#2630 ships in a release.

Made with Cursor

Slidev 52.16.0 introduced a regression (slidevjs/slidev#2635, #2629)
where getSlidePath double-applies BASE_URL: the router is already
created with createWebHistory(BASE_URL), so navigation produced doubled
paths (e.g. #/foss4g2026-talk/presenter/N that fail to match a route)
on subdirectory deploys, breaking slide skipping in presenter view.

Pinning to the last good release (52.15.2) restores base-less slide
paths. Verified locally with a built --base /foss4g2026-talk/ deploy:
presenter navigation now yields clean #/presenter/N URLs, no 404.
Revert once the fix in slidevjs/slidev#2630 ships in a release.

Co-authored-by: Cursor <cursoragent@cursor.com>
@lhoupert
lhoupert merged commit b2f0492 into main Jun 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant