Closed AlexCouch closed 10 months ago
It's important to set the path that static assets will be accessed from in html/js. So being able to set that in the setup code should be a priority. More complex static configuration can be done with middleware.
let pluv = pluvo.new() |> pluvo.static("/assets")
For now, static assets can be added via the static middleware.
Description
It's important to set the path that static assets will be accessed from in html/js. So being able to set that in the setup code should be a priority. More complex static configuration can be done with middleware.
Example