Leptos Meta
Leptos Meta allows you to modify content in a document’s <head> from within components
using the Leptos web framework.
Document metadata is updated automatically when running in the browser. For server-side
rendering, after the component tree is rendered to HTML, [ServerMetaContextOutput::inject_meta_context] will inject meta tags into a stream of HTML inside the <head>.
use *;
use *;
Feature Flags
ssrServer-side rendering: Generate an HTML string (typically on the server)tracingAdds integration with thetracingcrate.
Important Note: If you’re using server-side rendering, you should enable ssr.