site icon indicating copy to clipboard operation
site copied to clipboard

Add instructions on using UMD build to Installation page

Open samselikoff opened this issue 5 years ago • 3 comments

Someone on HN asked + we do already publish a UMD build. Just need to document it.

https://unpkg.com/browse/[email protected]/dist/

samselikoff avatar Jan 25 '20 14:01 samselikoff

I think just documenting a <script> tag pointing to unpkg would work, and then explain what the global is

samselikoff avatar Jan 25 '20 14:01 samselikoff

Example from React guides

<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>

Ours is

<script src="https://unpkg.com/miragejs/dist/mirage-umd.js" crossorigin></script>

samselikoff avatar Feb 23 '20 16:02 samselikoff

Blocked by https://github.com/miragejs/miragejs/issues/330

samselikoff avatar Feb 23 '20 16:02 samselikoff