Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.23 KB

File metadata and controls

22 lines (13 loc) · 1.23 KB

Head elements example

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 and locale, so to update them update the context as shown in Application.tsx

Deploy your own

Deploy it now with Vercel or preview on StackBlitz:

Deploy with Vercel Open in StackBlitz

How to use

Execute nulla create with npm:

npx nulla create --example head-elements head-elements-app

Then deploy it with Vercel, Heroku or Netlify.