dillonkearns/elm-pages/7.0.0

NOTE: the latest version is 12.3.0

Pages.Internal

You don't need to use this unless you want to play around with the internals of elm-pages to build a similar framework and hook into the low-level details. Otherwise, just grab the Pages.Internal.Internal value that is in the generated Pages module (see <Pages.Platform>).

type alias Internal pathKey =
{ applicationType : ApplicationType
, content : Content
, pathKey : pathKey
, toJsPort : Value -> Cmd Never
, fromJsPort : Sub Value
}

This type is generated for you in your gen/Pages.elm module (see <Pages.Platform>).

= Browser
| Cli

Internal detail to track whether to run the CLI step or the runtime step in the browser.