rogeriochaves / spades

Start an Elm SPA ready to the real world
302 stars 19 forks source link

Static pre-render mode #26

Open brasilikum opened 5 years ago

brasilikum commented 5 years ago

I am looking to replace a static site generator with elm. One requisite would be to be able to generate static files from elm instead of having to run a server. As I am not familiar with the technical requirements, I would like to know if something like this is potentially within scope for spades.

rogeriochaves commented 5 years ago

Sorry for the delay! Yes it would be withing scope for spades, we could add it to the serverless version.

For elm 0.18 there was a very nice solution for that, elm-static-html but I think its not updated to elm 0.19 yet. But it should not be hard to reuse the code we already have for SSR but call it on webpack build process instead