Packaging Reveal.js 6.0.1 as a portable archive with local runtime assets #3920
rare
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I needed a Reveal.js deck that could be packaged as a multi-file artifact, served from a stable nested URL, and controlled by a parent reader without loading the runtime from a CDN.
The portable shape I ended up with is straightforward:
dist/runtime and theme files into the build output.index.htmlat the archive root and make every runtime path relative.postMessagebridge that mapsnext,prev,first, andlastto the public Reveal API.I rechecked the public example against the current Reveal.js 6.0.1 release:
null.Reproducible links:
This archive-oriented path is for presentation readers that need a self-contained upload and host-level navigation. A normal static host remains the simpler option when you control the deployment and do not need a deck-specific reader boundary.
I would be interested in feedback on whether a small host-navigation adapter like this is best kept in application code or expressed as a reusable Reveal.js plugin.
All reactions