Implement more generation.

This commit is contained in:
Dillon Kearns 2022-09-15 15:26:08 -07:00
parent b4a7b0a315
commit d33489e02e

View File

@ -71,7 +71,14 @@ otherFile routes phaseString =
, onActionData = todo
, view = todo
, handleRoute = todo
, getStaticRoutes = todo
, getStaticRoutes =
case phase of
Browser ->
Gen.DataSource.succeed (Elm.list [])
Cli ->
getStaticRoutes.reference
|> Gen.DataSource.map (Gen.List.call_.map (Elm.val "Just"))
, urlToRoute =
Elm.value
{ annotation = Nothing