Hacker News new | ask | show | jobs
by politelemon 857 days ago
> if you want to keep your existing footer, header, CSS

That's actually pretty simple, and is what CSS is meant to be helping with - there will be a pain of having to wrangle the framework's HTML to fit what you need, but it's doable, and a small price to pay for the benefits the tried-and-tested framework brings.

1 comments

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.

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