Skip to content

Instantly share code, notes, and snippets.

@hyperh
Created December 5, 2016 03:51
Show Gist options
  • Select an option

  • Save hyperh/e0ee391e79ed1bdbb83b5b1610e9067c to your computer and use it in GitHub Desktop.

Select an option

Save hyperh/e0ee391e79ed1bdbb83b5b1610e9067c to your computer and use it in GitHub Desktop.
export default ({ body, title }) => (`
<!DOCTYLE html>
<html>
<head>
<title>${title}</title>
</head>
<body>
<div id="root">${body}</div>
</body>
<script src="/assets/bundle.js"></script>
</html>
`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment