-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (35 loc) · 981 Bytes
/
index.html
File metadata and controls
36 lines (35 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Buildless SolidJS 1 app</title>
<script type="importmap">
{
"imports": {
"solid-js": "https://esm.sh/*solid-js@1.9.10?dev",
"solid-js/": "https://esm.sh/*solid-js@1.9.10&dev/"
}
}
</script>
<script type="module">
import {
availablePresets,
registerPreset,
} from "https://esm.sh/@babel/standalone@7.28.1";
import presetSolid from "https://esm.sh/babel-preset-solid@1.9.10";
registerPreset("solid", {
presets: [presetSolid],
});
</script>
<!-- `data-plugins=""` attribute is required for @babel/standalone@7.28.1 -->
<script
type="text/babel"
data-presets="solid,typescript"
data-plugins=""
data-type="module"
src="./main.tsx"
></script>
</head>
<body></body>
</html>