slidevjs / slidev

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

feat: add `--wait-until` option for exporting #1687

Closed KermanX closed 2 weeks ago

KermanX commented 2 weeks ago

resolves #1514.

This PR introduces the --wait-until option, so that users can skip waitUntil: 'networkidle' if they want, which often causes timeout.

Docs

There is also a --wait-until option to wait for a state before exporting each slide:

$ slidev export --wait-until none

Possible values:

[!warning] When specifying values other than 'networkidle', please make sure the printed slides are complete and correct. If some contents are missing, you may need to use the --wait option.

netlify[bot] commented 2 weeks ago

Deploy Preview for slidev ready!

Name Link
Latest commit 1d34e83717aca95384b3559f20e0a5175aaf97c8
Latest deploy log https://app.netlify.com/sites/slidev/deploys/66719afc877d750007cef16a
Deploy Preview https://deploy-preview-1687--slidev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.