Spyke

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?

View original on lemmy.world
lemmy.world

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.

2

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.

1
lemmy.world

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.

1

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

1

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

1

You reached the end

Nuxt or Vue+GraphQL | Spyke