For every page you can inject elements into the page head. This way you can add stylesheets, JS scripts, meta tags or whatever you think is convenient to add inside the <head>
of your page.
💡 Nullstack's context covers up values like page
title
andlocale
, so to update them update the context as shown in Application.tsx
Deploy it now with Vercel or preview on StackBlitz:
Execute nulla create
with npm:
npx nulla create --example head-elements head-elements-app