Skip to main content
Module

x/swdev/template.html

No bundle frontend by service-worker
Go to Latest
File
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>SWDEV Playground</title> <script type="importmap"> { "imports": { "svelte": "https://cdn.skypack.dev/svelte", "svelte/internal": "https://cdn.skypack.dev/svelte/internal", "react": "https://cdn.skypack.dev/react", "react-dom": "https://cdn.skypack.dev/react-dom" } } </script> <script type="module"> if (location.hostname === "localhost") { const { start } = await import("./__swdev-client.js"); start("./script/main.tsx"); } else { import("./script/main.bundle.js") } </script></head><body> <div class="svelte-root"></div> <div class="react-root"></div></body></html>