elm-pages
is a framework for building an Elm single-page app that is able to seamlessly interface with data from an Elm Backend. elm-pages
is a hybrid framework, allowing you to define Routes that are either server-rendered
(for more dynamic content with user-specific or request-specific data) or pre-rendered at build-time (for generating static HTML files that are hosted through a CDN). You can mix and match server-rendered and pre-rendered routes in your app.
elm-pages
also has a command for running pure Elm scripts with a single command. See the elm-pages Scripts docs page.
- elm-pages Docs Site
- elm-pages site showcase
- elm-pages Elm API Docs
- Quick start repo (live site hosted here)
- Introducing
elm-pages
blog post examples
folder (includes https://elm-pages.com site source) Usegit clone --recurse-submodules https://github.com/dillonkearns/elm-pages.git
so that there aren't missing files when you try to build the examples.
You will see an error if the NPM and Elm package do not have a matching Compatibility Key. Usually it's best to upgrade to the latest version of both the Elm and NPM packages when you upgrade. However, in case you want to install versions that are behind the latest, the Compatibility Key is included here for reference.
Current Compatibility Key: 22.