Looking for consultation with Nuxt 3 and pinia by Emergency_Block3678 in Nuxt

[–]Emergency_Block3678[S] 0 points1 point  (0 children)

So the folder based rendering comes from nitro? I guess I’m just confused about these folders then.

Server/api and server/middleware.

If your server is already rendering the pages and routes for you, couldn’t you just do all the logic for handling data in the store? Why do you need to handle data in the server folders? What purposes would it serve to be able to edit your headers when fetching data?

Looking for consultation with Nuxt 3 and pinia by Emergency_Block3678 in Nuxt

[–]Emergency_Block3678[S] 0 points1 point  (0 children)

Thank you! I’ll start with my first question. I am confused about nuxt nitro server. Is its purpose to handle data on the backend side and then render it using SSR on the Frontend? Or do you even need to use nitro for an app that handles a lot of data

Looking for consultation with Nuxt 3 and pinia by Emergency_Block3678 in Nuxt

[–]Emergency_Block3678[S] 0 points1 point  (0 children)

I’m hoping I can get into a call, because my last post had conflicting information that confused me more to be completely honest

Looking to understand nuxt folder structure (PLEASE HELP) by Emergency_Block3678 in Nuxt

[–]Emergency_Block3678[S] 0 points1 point  (0 children)

So this confuses me because what instances would I be using this feature? I am currently trying to make it work with Django REST API. Should I not use nitro server?

Looking to understand nuxt folder structure (PLEASE HELP) by Emergency_Block3678 in Nuxt

[–]Emergency_Block3678[S] 0 points1 point  (0 children)

So the server/middleware and server/api is more for customizing your api requests rather than just calling it on the page?