How can I render/compile passing a file path as an argument?
Usually I did this.response.render("index") like here https://github.com/salemalem/deno-twd-drash/blob/main/drash-resources/home_resource.js
Now, I want to render/compile and save the output as .HTML to ship to dist so users can host static files without a server.
How can I render/compile passing a file path as an argument?
Usually I did this.response.render("index") like here https://github.com/salemalem/deno-twd-drash/blob/main/drash-resources/home_resource.js
Now, I want to render/compile and save the output as .HTML to ship to dist so users can host static files without a server.