3 ms·
A Whole Website in a Single JavaScript File, Cont'd
- ahuigo 4y agohttps://dash.deno.com/playground/website-in-a-single-js-2 https://dash.deno.com/playground/website-in-a-single-js-2 I failed to run it on my local machine. ``` $ deno run -A single-file.tsx Listening on http://localhost:8000/ http://localhost:8000/ TypeError: Cannot set properties of undefined (setting 'id') at xt (https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:16471 https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:16471) at mt (https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:16559 https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:16559) at Bt (https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:30213 https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:30213) at r (https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:31217 https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:31217) at t (https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:31181 https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:31181) at Vt.tw.Object.defineProperties.theme.get.i (https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:31281 https://esm.sh/v94/twind@0.16.16/deno/twind.js:3:31281) ```