Hacker News new | ask | show | jobs
by dewey 861 days ago
Yes, but in reality it's not that easy if you want to have a shared footer / header / navbar component.

If you want to use for example Tailwind CSS classes in your blog you also need to integrate it with your build pipeline to add/remove unused classes from the final stylesheet.

1 comments

I have client side includes using a custom element, that I can add to any HTML page and get the shared footer, header, etc.