mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-29 18:00:47 +03:00
Fix prerendering for articles.
This commit is contained in:
parent
8792517db8
commit
65566f02a4
@ -4,8 +4,7 @@
|
||||
"description": "Static site generator for elm-markup.",
|
||||
"scripts": {
|
||||
"start": "parcel src/index.html",
|
||||
"build": "rm -r dist && parcel build src/index.html --public-url ./",
|
||||
"generator:build": "parcel build generator/src/elm-markup-pages.ts --out-file bundle.js --target node --bundle-node-modules --no-source-maps",
|
||||
"build": "rm -r dist && parcel build src/index.html",
|
||||
"test": "elm-test",
|
||||
"autotest": "elm-test --watch"
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Elm } from "../Main.elm";
|
||||
import { Elm } from "./Main.elm";
|
||||
|
||||
Elm.Main.init({
|
||||
node: document.getElementById("app")
|
@ -3,11 +3,10 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>elm-markup-pages</title>
|
||||
<link rel="stylesheet" href="./css/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="./js/app.js"></script>
|
||||
<script src="./app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user