Opting out of the JavaScript ecosystem (sort of)
better web devOk. Not opting out of anything. tldr: this site moved from Nuxt to 11ty.
This site went dark for some time, first because I was busy, and secondly because it became too onerous to update. Conflicting versions of Node, Vue, and Nuxt basically meant it was time to update the site, and with that meant updating the Nuxt plugins that supported the content flow, and once I realized what a project it would be, I started to wonder why I should bother.
I first considered switching this back to a simple WordPress theme. It's not that the tech involved in a WordPress is simpler than a Nuxt site but I do have WordPress sites that have worked for approaching a decade, with the host or the app itself automatically updating the core files, php, plugins, etc. That's really something else, that level of stability.
Meanwhile, on my very fancy JavaScript site, I couldn't update a post without implementing a new API and debugging npm install
.
WordPress, at the end of the day, is a very large instrument for this use case, and 11ty exists. The title of this post is therefore a bit misleading. I am on 11ty now, which frankly is a much better fit for updating Markdown files to generate HTML than Nuxt, no shade on an otherwise fine tool. I've also recently worked on an Astro site, which was a consideration, but Astro also feels like a bit too much for what is HTML & CSS compiled from markdown. And it also feels extremely "bought in" to the ecosystem, where 11ty is more like a single purpose tool. At least that's the way it feels.
The best part of the move is the nice clean package.json
. I struggle to imagine a situation where it might grow.