Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import assets from '../assets.json'
function renderHtml(renderedMarkup: string) {
return `<!DOCTYPE html>
<link id="css-main" type="text/css" rel="stylesheet" href="${assets.main
<div id="root">${renderedMarkup}</div>
<script src="${assets.vendor.js}"></script>
<script async src="${assets.main.js}"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment