Skip to content

Commit

Permalink
Fix Open Sandbox link for now
Browse files Browse the repository at this point in the history
  • Loading branch information
samselikoff committed Aug 2, 2024
1 parent 232cc78 commit 627ef2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,22 @@ export default function Home() {
"https://unpkg.com/@tailwindcss/ui/dist/tailwind-ui.min.css",
],
editorHeight: "80vh",
showTabs: false,
}}
files={{
"App.tsx": generatedCode,
"/public/index.html": `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div id="root"></div>
</body>
</html>`,
}}
template="react-ts"
/>
Expand Down

0 comments on commit 627ef2f

Please sign in to comment.