Beem Slide

beem-slide preview

Serve the build locally and rehearse against the real thing.

npx beem-slide preview

Serves 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

FlagDefaultDescription
-p, --port <port>config, else 5299Port to listen on.
--host [host]localhost onlyExpose on the network. Pin a host by passing one.
--openoffOpen 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.

On this page