Use --pushstate and absolute URLs

This commit is contained in:
Richard Feldman
2016-09-01 05:16:00 -07:00
parent 949e3ef14c
commit 45ec4b157e
24 changed files with 50 additions and 54 deletions

View File

@@ -16,7 +16,7 @@ elm-package install
## Building
```bash
elm-live Main.elm --open --output=elm.js
elm-live Main.elm --open --pushstate --output=elm.js
```
## Running Tests

View File

@@ -4,10 +4,10 @@
<head>
<meta charset="UTF-8">
<title>ElmHub</title>
<script type="text/javascript" src="github.js"></script>
<script type="text/javascript" src="elm.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="elm-hub.png">
<script type="text/javascript" src="/github.js"></script>
<script type="text/javascript" src="/elm.js"></script>
<link rel="stylesheet" href="/style.css">
<link rel="icon" type="image/png" href="/elm-hub.png">
</head>
<body>