elm-pages-v3-beta/examples/base-path/app/Api.elm

15 lines
308 B
Elm
Raw Normal View History

2021-10-03 12:17:50 +03:00
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 =
[]