We’re so used to either a backend language or a JavaScript framework powering our data-backed components. I love me a Rails partial with a bunch of locals: {}
or a <Component ...props />
but you don’t have to give up on components even if working in static HTML. With Nunjucks, which has includes and templates and macros, we have a robust toolset for building component-based sites that are easy, fast, and secure to host.
Building A Static Site With Components Using Nunjucks
DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit!