Reimagining my blog yet again

25 August 2023 - Web-development 

As with my previous upgrade, it's time to update my blog and portfolio site yet again. This decision stems not from a dislike of Gridsome, but rather a consideration of long-term maintainability. Despite the initial excitement surrounding Gridsome in 2021, it has regrettably lost momentum and turned into an abandoned project over the past couple of years. Fortunately, there's Nuxt Content—an extension for Nuxt with a similar goal to that of Gridsome.

Fortunately, my familiarity with Nuxt due to its use in both my previous and current jobs made the transition from Gridsome to Nuxt Content seem like a breeze after delving into the Nuxt Content documentation.

The entire process only took a couple of afternoons. Initially, I migrated the content (markdown files, video and images) to Gridsome with some minor adjustments to file references such as images and videos. Then, I replicated all the components. For the components, the only necessary change was replacing the GraphQL queries with the queryContent() function, which employs a query style akin to MongoDB.

And that's about all there was to it—quite straightforward.

If you're still utilizing Gridsome but exploring alternatives within the Vue ecosystem, I wholeheartedly recommend giving Nuxt Content a try.

image by clément dartigues