Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions on using UMD build to Installation page #241

Open
samselikoff opened this issue Jan 25, 2020 · 3 comments
Open

Add instructions on using UMD build to Installation page #241

samselikoff opened this issue Jan 25, 2020 · 3 comments

Comments

@samselikoff
Copy link
Contributor

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

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

@samselikoff
Copy link
Contributor Author

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

@samselikoff
Copy link
Contributor Author

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
Copy link
Contributor Author

Blocked by miragejs/miragejs#330

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

No branches or pull requests

1 participant