aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-07-29 16:17:17 +0200
committerJasper Van der Jeugt2020-07-29 16:17:17 +0200
commit780527946548c68bfcfc4d8a99abf06b66cf23c1 (patch)
tree1479ab0ceb1de8016dff7ff462cd565c452a4243 /client
parent72b1de1a28c23cf694ff5f982f0f637afd4ba5bc (diff)
Stub client
Diffstat (limited to 'client')
-rw-r--r--client/elm.json24
-rw-r--r--client/index.html9
-rw-r--r--client/src/Client.elm13
3 files changed, 46 insertions, 0 deletions
diff --git a/client/elm.json b/client/elm.json
new file mode 100644
index 0000000..dea3450
--- /dev/null
+++ b/client/elm.json
@@ -0,0 +1,24 @@
+{
+ "type": "application",
+ "source-directories": [
+ "src"
+ ],
+ "elm-version": "0.19.1",
+ "dependencies": {
+ "direct": {
+ "elm/browser": "1.0.2",
+ "elm/core": "1.0.5",
+ "elm/html": "1.0.0"
+ },
+ "indirect": {
+ "elm/json": "1.1.3",
+ "elm/time": "1.0.0",
+ "elm/url": "1.0.0",
+ "elm/virtual-dom": "1.0.2"
+ }
+ },
+ "test-dependencies": {
+ "direct": {},
+ "indirect": {}
+ }
+}
diff --git a/client/index.html b/client/index.html
new file mode 100644
index 0000000..8ac103a
--- /dev/null
+++ b/client/index.html
@@ -0,0 +1,9 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <title>Client</title>
+</head>
+ <body>
+ </body>
+</html>
diff --git a/client/src/Client.elm b/client/src/Client.elm
new file mode 100644
index 0000000..1db70c7
--- /dev/null
+++ b/client/src/Client.elm
@@ -0,0 +1,13 @@
+module Client exposing (main)
+
+import Browser
+import Html
+
+main : Program () () msg
+main = Browser.element
+ { init = \() -> ((), Cmd.none)
+ , update = \_ model -> (model, Cmd.none)
+ , subscriptions = \_ -> Sub.none
+ , view = \model -> Html.h1 [] [Html.text "Hi"]
+ }
+