mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-29 06:45:21 +03:00
26 lines
558 B
Elm
26 lines
558 B
Elm
module Api exposing (routes)
|
|
|
|
import ApiRoute exposing (ApiRoute)
|
|
import DataSource exposing (DataSource)
|
|
import Html exposing (Html)
|
|
import Pages.Manifest as Manifest
|
|
import Route exposing (Route)
|
|
|
|
|
|
routes :
|
|
DataSource (List Route)
|
|
-> (Html Never -> String)
|
|
-> List (ApiRoute ApiRoute.Response)
|
|
routes getStaticRoutes htmlToString =
|
|
[]
|
|
|
|
|
|
manifest : Manifest.Config
|
|
manifest =
|
|
Manifest.init
|
|
{ name = "Site Name"
|
|
, description = "Description"
|
|
, startUrl = Route.Index |> Route.toPath
|
|
, icons = []
|
|
}
|