HTTP Handler #29
export default (req) => new Response( `<html> <head> <title>TLDraw React Example</title> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> <style> @import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap"); @import url("https://esm.sh/tldraw@3.2.0/tldraw.css"); body { font-family: "Inter"; } </style> </head> <body> <main id="root"></main> <script type="module" src="https://esm.town/v/robcobb/tldrawclient"></script/> </body> </html>`, { headers: { "Content-Type": "text/html", }, }, );
Deploy New Version!
Visit:
null/serve/29
Return home
ποΈ π³ π πΆββοΈ β² πΆββοΈ π‘ π² π³
View Source