Use --pushstate and absolute URLs
This commit is contained in:
@@ -16,5 +16,5 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
```
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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="icon" type="image/png" href="elm-hub.png">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="icon" type="image/png" href="/elm-hub.png">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user