elm-pages-v3-beta/examples/base-path/app/Api.elm
2022-03-25 10:13:12 -07:00

15 lines
308 B
Elm

module Api exposing (routes)
import ApiRoute
import DataSource exposing (DataSource)
import Html exposing (Html)
import Route exposing (Route)
routes :
DataSource (List Route)
-> (Html Never -> String)
-> List (ApiRoute.ApiRoute ApiRoute.Response)
routes getStaticRoutes htmlToString =
[]