You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anyway not to repeat the above <header> code in every single page template and define it only once? all the pages in my app share the same header row with the buttons to side-panel and settings, and I may only want to change the <h1> title.
The text was updated successfully, but these errors were encountered:
hanvari
changed the title
Question: Can we share the same <header> element across pages?
Question: Can we share the same <header> element across pages?
Feb 12, 2018
It is not possible. You need to register your navbar as a component with React, Angular, Vue etc.
If you want to stay standalone, you can add a simple configuration where you store your navbar such as:
Is there anyway not to repeat the above
<header>
code in every single page template and define it only once? all the pages in my app share the same header row with the buttons to side-panel and settings, and I may only want to change the<h1>
title.The text was updated successfully, but these errors were encountered: