beem-slide preview
Serve the build locally and rehearse against the real thing.
npx beem-slide previewServes whatever is in dist/ on a local port. Same scaling, same routing, none
of the dev-only chrome — which is the point: it is the deck as your audience
will get it, not as you have been editing it.
It does not build. Run npx beem-slide build first, and run it again after any
change, or you are rehearsing against a stale bundle. (There is no
npm run preview script in the scaffold; see
Overview.)
Flags
| Flag | Default | Description |
|---|---|---|
-p, --port <port> | config, else 5299 | Port to listen on. |
--host [host] | localhost only | Expose on the network. Pin a host by passing one. |
--open | off | Open a browser on start. |
Worth doing before a talk
The dev server is forgiving in ways a build is not. Things that only show up
here: a basePath that does not match where the deck will actually live, an
asset that was resolving out of the dev server's file system rather than out of
the bundle, and the absence of any authoring chrome you had unconsciously been
using to navigate.