simulacra icon indicating copy to clipboard operation
simulacra copied to clipboard

cdn example

Open cekvenich opened this issue 5 years ago • 5 comments

Is there a hello world example that loads simulacra.js from CDN that works w/ ie11?

cekvenich avatar Jul 09 '18 20:07 cekvenich

Maybe on the documentation site? https://simulacra.js.org/simulacra.min.js

It's hosted on GitHub pages, which is a pretty decent CDN itself.

gr0uch avatar Jul 10 '18 01:07 gr0uch

Would be great if there was this in the front page below the NPM install:

<script src="https://simulacra.js.org/simulacra.min.js"></script>

PierBover avatar Oct 27 '18 17:10 PierBover

But it needs version in the url. I can't have that changed implicitly.

cekvenich avatar Oct 27 '18 21:10 cekvenich

Maybe this?

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/simulacra.min.js"></script>

https://www.jsdelivr.com/package/npm/simulacra?path=dist

PierBover avatar Oct 27 '18 21:10 PierBover

There's also unpkg, which will let you get a specific version:

https://unpkg.com/[email protected]/dist/simulacra.min.js

gr0uch avatar Oct 27 '18 21:10 gr0uch