elm-pages-v3-beta/examples/hello/app/Api.elm
2022-03-09 15:06:49 -08:00

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 = []
}