Replies: 2 comments 1 reply
-
Okay so I realized there's more docs than the website. The website explains a lot of high-level stuff but doesn't tell me, for example, that I can't use the script for adding a new page if I want it to be a "prerendered route". I managed to copy the Index.elm code to get a second page working... I can't view the local docs because of #445 , so I had to inspect the code of the hidden RouteBuilder.elm file 😬 |
Beta Was this translation helpful? Give feedback.
1 reply
-
There is an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently upgraded to v3, and while the site works fine in dev mode, the build just contains
index.html
and none of my other routes. So, the homepage appears online, but every link is a 404.Inspecting the build, it looks like there's a bunch of files relating to redirects that are supposed to be followed, and most of these are built for Netlify. I'm not using Netlify, nor any sort of "serverless" setup, just a static site hosted on GitLab Pages.
How do I get
elm-pages build
to build a normal static site like in v2? The docs don't say much, but they do suggest that static site building is still supported.Beta Was this translation helpful? Give feedback.
All reactions