-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtodomvc.html
More file actions
31 lines (29 loc) · 1002 Bytes
/
todomvc.html
File metadata and controls
31 lines (29 loc) · 1002 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TodoMVC • Crank.py</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/todomvc-app-css@2.4.2/index.css">
<link rel="stylesheet" href="https://pyscript.net/releases/2025.8.1/core.css">
<script type="module" src="https://pyscript.net/releases/2025.8.1/core.js"></script>
</head>
<body>
<div id="app"></div>
<py-config>
{
"files": {
"../crank/__init__.py": "crank/__init__.py",
"../crank/dom.py": "crank/dom.py"
},
"js_modules": {
"main": {
"https://esm.run/@b9g/crank@0.7.1/crank.js": "crank_core",
"https://esm.run/@b9g/crank@0.7.1/dom.js": "crank_dom"
}
}
}
</py-config>
<py-script src="todomvc.py"></py-script>
</body>
</html>