DEV Community

Discussion on: Building My New Blog | Nuxt Vs Gridsome

brpaz profile image
Bruno Paz • Edited on

I... didn't know this was possible! Will need to research into this a bit more.

Never tried anything similar myself, but Nuxt has Hooks that allows to run code at specific points of Nuxt Lifecycle including build. This is how for example nuxt sitemap plugin works to generate a sitemap at build time. So in theory, it should be possible.

A small part of me wants the two projects to be merged together. Imagine having a GraphQL data layer in Nuxt

Yes. I think it would be a cool add-on on top of Next. It could work similarly to Nuxt Content but with a GraphQL API.