mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-24 12:22:27 +03:00
Implement more generation.
This commit is contained in:
parent
b4a7b0a315
commit
d33489e02e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user