Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

cdn example #64

Open
cekvenich opened this issue Jul 9, 2018 · 5 comments
Open

cdn example #64

cekvenich opened this issue Jul 9, 2018 · 5 comments

Comments

@cekvenich
Copy link

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

@gr0uch
Copy link
Owner

gr0uch commented Jul 10, 2018

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.

@PierBover
Copy link

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>

@cekvenich
Copy link
Author

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

@PierBover
Copy link

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

@gr0uch
Copy link
Owner

gr0uch commented Oct 27, 2018

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants