-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (55 loc) · 1.67 KB
/
index.html
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!doctype html>
<html lang="en">
<head>
<title>p5.js Code Painter</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reset-css@5.0.1/reset.min.css" />
<!--
<link rel="stylesheet" href="lib/reset.min.css" />
-->
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" />
<meta charset="utf-8" />
</head>
<body>
<div id="app"></div>
<!--
<script src="lib/p5.min.js"></script>
-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.min.js"></script>
<script src="graphic.js"></script>
<script src="p5codepainter.js"></script>
<!--
<script type="importmap">
{
"imports": {
"vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.js"
}
}
{
</script>
<script type="module">
import { createApp } from "https://unpkg.com/vue@3/dist/vue.esm-browser.js";
import App from "./app.js";
window.addEventListener("load", () => {
createApp(App).mount("#app");
});
</script>
-->
<script type="importmap">
{
"imports": {
"vue": "./lib/vue.esm-browser.js"
}
}
</script>
<script type="module">
import { createApp } from "vue";
import App from "./app.js";
window.addEventListener("load", () => {
createApp(App).mount("#app");
});
</script>
</body>
</html>