Use --pushstate and absolute URLs
This commit is contained in:
@@ -69,7 +69,7 @@ elm-package install --yes
|
|||||||
Once that succeeds, run this to verify everything:
|
Once that succeeds, run this to verify everything:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
A browser should open, and you should see this in it:
|
A browser should open, and you should see this in it:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## Compiling CSS
|
## Compiling CSS
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
10
index.html
10
index.html
@@ -4,13 +4,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Elm Workshop</title>
|
<title>Elm Workshop</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
<link rel="stylesheet" href="/style.css">
|
||||||
<!-- Uncomment the below line to enable elm-reactor support. -->
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
<!-- <script type="text/javascript" src="/_reactor/debug.js"></script> -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running Tests
|
## Running Tests
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="github.js"></script>
|
<script type="text/javascript" src="/github.js"></script>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,5 +16,5 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,5 +16,5 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="github.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ elm-package install
|
|||||||
## Building
|
## Building
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
elm-live Main.elm --open --output=elm.js
|
elm-live Main.elm --open --pushstate --output=elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running Tests
|
## Running Tests
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ElmHub</title>
|
<title>ElmHub</title>
|
||||||
<script type="text/javascript" src="github.js"></script>
|
<script type="text/javascript" src="/github.js"></script>
|
||||||
<script type="text/javascript" src="elm.js"></script>
|
<script type="text/javascript" src="/elm.js"></script>
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" type="image/png" href="elm-hub.png">
|
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user