FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.7k stars 690 forks source link

Update `create-spectacle` to use import map and ESM-based one page template. #1304

Closed carloskelly13 closed 7 months ago

carloskelly13 commented 7 months ago

The one-page output used an outdated version of Spectacle and hard-coded in the dependencies. This implements our dynamic generation for the one-page.html option from the create-spectacle CLI and moves it over to use ESM and import maps.

How to test →

  1. Pull this PR and cd into packages/create-spectacle
  2. Either build the library or pnpm run dev
  3. Pick the options to build a new one-page deck
  4. Verify the output html file actually opens and loads
vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spectacle-docs-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2023 5:51pm