panglesd / slipshow

An engine for displaying slips, the next-gen version of slides
MIT License
654 stars 12 forks source link

Add cdn example #2

Closed voodoos closed 4 years ago

voodoos commented 4 years ago

Copy the example but show how to use a slip-js version from a CDN.

Todo that common css is also built with Parcel.

panglesd commented 4 years ago

Thank you, but that would be even better if there is a way to "compile the example to its CDN version", so that there is only one file to change when the example is updated (and that will happen very soon!).

Do you know a good way to do this?

panglesd commented 4 years ago

Also, is it better or different to use https://www.jsdelivr.com/ ?

voodoos commented 4 years ago
panglesd commented 4 years ago

Things have changed since this PR, the doc explains well enough how to use a cdn, and we can use jsdeliver with gihub or npm to deliver the library. Still, thanks for contributing!