on master help sign in
wip
commit31b0f791a4712911a418a23be3e6a2e9c18d907d authoriko <ilyakooo0@gmail.com> dateSun 17 Jul 2022, 19:09 (4 years ago) parent993c80f
5 files changed+28
.gitignore+1 dev/elm-live.sh+6 static/index.html+18 static/script.js+3 static/vanilla-framework-version-3.6.1.min.css → static/vanilla-framework-version.min.css
.gitignore+1
@@ -1,2 +1,3 @@
11build
22.clickable
3+static/elm.js
dev/elm-live.shnew file+6
@@ -0,0 +1,6 @@
1+#!/bin/sh
2+
3+(
4+ cd static &&
5+ elm-live ../src/Main.elm --start-page=index.html --proxy-prefix=/api --proxy-host=http://localhost:6009 --pushstate -- --debug --output=elm.js
6+)
static/index.htmlnew file+18
@@ -0,0 +1,18 @@
1+<!DOCTYPE html>
2+<html lang="en">
3+
4+<head>
5+ <meta charset="UTF-8">
6+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8+ <link rel="stylesheet" href="/vanilla-framework-version.min.css">
9+ <title>Test.</title>
10+ <script src="/elm.js"></script>
11+</head>
12+
13+<body>
14+ <div id="elm"></div>
15+ <script src="/script.js"></script>
16+</body>
17+
18+</html>
static/script.jsnew file+3
@@ -0,0 +1,3 @@
1+Elm.Main.init({
2+ node: document.getElementById("elm")
3+})
static/vanilla-framework-version-3.6.1.min.css → static/vanilla-framework-version.min.cssrenamed

The content is the same.