canceraiddev/elm-pages/1.1.0

NOTE: the latest version is 1.1.3

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/CancerAidDev/elm-pages exists but has no tag 1.1.0; Software Heritage has not archived the repo; no fork with tag 1.1.0 found (60 same-name repos checked); no cached copy. Use another version.

Details

Pages.Internal.NotFoundReason

Exposed for internal use only (used in generated code).

codec : Codec Payload
type alias ModuleContext =
{ moduleName : List String
, routePattern : RoutePattern
, matchedRouteParams : Record
}
= NoMatchingRoute
| NotPrerendered ModuleContext (List Record)
| NotPrerenderedOrHandledByFallback ModuleContext (List Record)
| UnhandledServerRoute ModuleContext
type alias Payload =
{ path : Path
, reason : NotFoundReason
}
type alias Record =
List ( String, String )
List RoutePattern
-> Payload
-> { title : String
, body : Html msg
}