added static html

This commit is contained in:
Jack Wines 2023-03-13 20:30:24 -07:00
parent b3782d5287
commit 34565f09a8
2 changed files with 18 additions and 0 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ server/db
**/elm-stuff
/client/index.html
/server/state/
client/static/main.js

17
client/static/index.html Normal file
View file

@ -0,0 +1,17 @@
<html>
<head>
<meta charset="UTF-8">
<title>Main</title>
<script src="main.js"></script>
<link href="paper.min.css" rel="stylesheet" />
</head>
<body>
<div id="myapp"></div>
<script>
var app = Elm.Main.init({
node: document.getElementById('myapp')
});
</script>
</body>
</html>