Skip to content
Source
Sign inSign up
TanStack/container
Open History to see the last commit

index.html

41 lines1.4 KB

1<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6 <meta name="color-scheme" content="dark" />
7 <title>Browser Runtime Spike</title>
8 </head>
9 <body>
10 <main>
11 <header>
12 <h1>Browser runtime spike</h1>
13 <output id="status" data-state="loading">Starting…</output>
14 </header>
15​
16 <section class="workspace">
17 <label class="editor-label" for="source">/src/server.ts</label>
18 <textarea id="source" spellcheck="false" autocomplete="off"></textarea>
19 </section>
20​
21 <form id="request-form">
22 <label for="request-path">Request path</label>
23 <input id="request-path" value="/hello/web-container" />
24 <button id="compile" type="button">Compile and load</button>
25 <button id="vite-smoke" type="button">Run Vite build</button>
26 <button id="load-start" type="button">Build Start app</button>
27 <button id="request" type="submit">Send request</button>
28 </form>
29​
30 <section class="response-panel">
31 <div>
32 <span>Response</span>
33 <output id="timing"></output>
34 </div>
35 <pre id="response">No request sent.</pre>
36 <iframe id="preview" title="Rendered server response" sandbox hidden></iframe>
37 </section>
38 </main>
39 <script type="module" src="/src/main.ts"></script>
40 </body>
41</html>