slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
32.82k stars 1.33k forks source link

Can't create multiple slides #1658

Closed jaanli closed 3 months ago

jaanli commented 3 months ago

Describe the bug Tried adding multiple slide decks to talks.onefact.org (https://github.com/onefact/talks.onefact.org).

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/onefact/talks.onefact.org/blob/main/pages/multiple-entries.md - and verify that this text appears
  2. Try it locally: slidev --open pages/multiple-entries.md and verify that it opens in your browser
  3. Go to talks.onefact.org/pages/multiple-entries
  4. See the error: it goes back to the first page :(

Desktop (please complete the following information):

Open to any help in debugging this! Thank you on behalf of @onefact :)

jaanli commented 3 months ago

Related from @jonathanlukas: https://github.com/jonathanlukas/slidev-setup-sample

KermanX commented 3 months ago

Do you run slidev build pages/multiple-entries.md --out ./dist/pages/multiple-entries/ --base /pages/multiple-entries/ in your CI?

The sub-slides have to be built independently if you want to access them as separate slides.

KermanX commented 3 months ago

This is temporarily closed because more information is required.