Skip to content

Instantly share code, notes, and snippets.

@sag1v
Last active November 17, 2018 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sag1v/88baf39cb2127a818c3f4db580ebc194 to your computer and use it in GitHub Desktop.
Save sag1v/88baf39cb2127a818c3f4db580ebc194 to your computer and use it in GitHub Desktop.
react integration with other applications article
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<title>React App</title>
<!-- uncomment this line when you sure you have react-counter bundle in the counter_dist folder -->
<link rel="stylesheet" href="counter_dist/static/css/react-counter.css">
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="counter-app"></div>
<div id="root"></div>
<!-- uncomment this line when you sure you have react-counter bundle in the counter_dist folder -->
<script src="counter_dist/static/js/react-counter.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment