Skip to content
This repository was archived by the owner on Dec 21, 2018. It is now read-only.

Commit 669fb86

Browse files
committed
Scaffold out files for basic Elm app
1 parent 801727b commit 669fb86

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

part3/http-workshop/Main.elm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module Main exposing (..)
2+
3+
import Html exposing (..)
4+
5+
6+
main : Html msg
7+
main =
8+
text "hello world"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"version": "1.0.0",
3+
"summary": "",
4+
"repository": "https://github.com/TechforgoodCAST/elm-week.git",
5+
"license": "BSD-3-Clause",
6+
"source-directories": [
7+
"."
8+
],
9+
"exposed-modules": [],
10+
"dependencies": {
11+
"elm-lang/core": "5.0.0 <= v < 6.0.0",
12+
"elm-lang/html": "2.0.0 <= v < 3.0.0",
13+
"elm-lang/http": "1.0.0 <= v < 2.0.0"
14+
},
15+
"elm-version": "0.18.0 <= v < 0.19.0"
16+
}

part3/http-workshop/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>Syntax workshop</title>
7+
<script type="text/javascript" src="/elm.js"></script>
8+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tachyons/4.8.1/tachyons.min.css" />
9+
</head>
10+
11+
<body>
12+
</body>
13+
14+
<script type="text/javascript">
15+
var app = Elm.Main.fullscreen();
16+
</script>
17+
18+
</html>

0 commit comments

Comments
 (0)