Nuxt or Vue+GraphQL

Hey there,

I'm somewhat new to Vue. But I am wondering what backend to use.

As far as I understood GraphQL should do the trick. But when I was taking the Mastery Courses for free this weekend, I came across Nuxt, which is a full stack framework.

What are your opinions or even other ideas?

3 points · 6 comments · view on lemmy.world

6 Comments

jogai_san@lemmy.world · 2 pts · 2y (2 replies)

Nuxt is still a vue framework, it uses Nitro to make it full stack. Personally I wouldn't choose an all-in-one framework. The vitesse template shows you can compose most of the same functionality with separate packages: https://github.com/antfu/vitesse#features You can then choose a query library that supports graphsql like apollo or tanstack that fit your needs.

LilDestructiveSheep@lemmy.world · 1 pts · 2y (1 reply)

Thanks for your reply! Will have a look into it :)

Why wouldn't you choose a full stack solution?

jogai_san@lemmy.world · 1 pts · 2y

You can do fullstack, just pick and choose the layers in the stack yourself. That way you're in control everywhere, and you can pick the best for your usecase.

rezz@lemmy.world · 1 pts · 2y (2 replies)

I built a company on this stack and highly regretted it FWIW. This was five years ago and I wish we’d had gone Next/React. It obviously depends on what you want to do, but it’s a dated stack.

Required more work from a less talented available pool of contributors to achieve an outcome.

There were other factors, like we also had Mongo and Kubernetes in there which were unnecessarily premature migrations, but nonetheless, I will never use Nuxt/Vue again.

There are even nicer cutting edge options like Svelte, you should look at.

LilDestructiveSheep@lemmy.world · 1 pts · 2y

5 years ago it was Vue2 right?

I saw some examples and I wouldnt go with that. Vue3 is much better as far as I can say

rezz@lemmy.world · 1 pts · 2y

(Sorry I know this is a Vue sub, but wanted to share my reality of it).