Open brillout opened 4 days ago
Called after the HTML is fully generated (after Vike injects assets).
Use case: HTML transformers, such as critical CSS inlining https://github.com/vikejs/vike/discussions/1975.
Workaround in the meantime:
dist/client/
renderPage()
(Note to maintainers: ideally the name should be swapped with the already existing onAfterRenderHtml().)
onAfterRenderHtml()
Description
Called after the HTML is fully generated (after Vike injects assets).
Use case: HTML transformers, such as critical CSS inlining https://github.com/vikejs/vike/discussions/1975.
Workaround in the meantime:
dist/client/
and apply transformer against each HTML file.renderPage()
.(Note to maintainers: ideally the name should be swapped with the already existing
onAfterRenderHtml()
.)