Skip to content

Instantly share code, notes, and snippets.

@jamesattard
Created August 14, 2019 09:23
Show Gist options
  • Save jamesattard/4e0fe338ae93b50bb089e84217848f6e to your computer and use it in GitHub Desktop.
Save jamesattard/4e0fe338ae93b50bb089e84217848f6e to your computer and use it in GitHub Desktop.
<html lang="en">
<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="text/javascript" src="http://localhost/main.c9cd54b9.chunk.js"></script>
</body>
</html>
@mevingmonson
Copy link

Hi James,
I've read your blog on The Two Easiest Ways To Share Your ReactJS Project As a Widget and I find it really insightful.
The only doubt I have is how to publish the React widget to a live static webpage in the case of javascript way?

Thanks,
Mevin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment