Closed gRegorLove closed 1 year ago
Thanks for reporting. The documentation was not updated accordingly. The section in the docs has just been removed.
The TemplateRenderer
has been removed to make this skeleton project more agnostic / universal, as an API usually does not need an HTML template engine.
Is there a newer, preferred method for default HTML rendering with the skeleton, or is it meant for devs to implement as needed?
This style / method is still the preferred way for HTML rendering, but you need to add it to your project if needed.
For example, when you want to provide a Swagger documentation, or you want to build a frontend based on this skeleton, the TemplateRenderer
would be still the recommended way.
I'm closing this as "solved."
The documentation refers to
TemplateRenderer
(orHtmlRenderer
in the code snippet), but TemplateRenderer looks like it was removed in this commit.Is there a newer, preferred method for default HTML rendering with the skeleton, or is it meant for devs to implement as needed?