Exporting complete HTML and CSS
cashgarman opened this issue · comments
Cash Garman commented
Excellent project first of all!
Unless I am missing something, copying or saving the resulting HTML into something usable, it only seems to copy small portion of the HTML, with a lot of the CSS styling missing.
Cash Garman commented
VideoFX commented
I just ran into this as well. Is there a reference to the rest of the files needed to complete this?
Chris Van Pelt commented
@VideoFX @cashgarman I just pushed a change to main and deployed to the demo app. Copying or downloading now includes the needed wrapper to render properly. For future reference the needed template is:
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
${code}
</body>
</html>