Answer the question
In order to leave comments, you need to log in
Nuxt.js vs Custom SSR. What is the best way to implement server side render in Vue.js?
Hello, today I read an article on Habré , which talks about the limitations that a framework like Nuxt.js creates during development. The author of the article did not use Nuxt, but used Next.js on React, and when he was going to make a project on Vue, he decided to implement SSR on his own, because - as he writes - Nuxt will not give him the necessary development flexibility.
I, in turn, used Next.js a little while making an application on React, and almost immediately abandoned it, since it created additional difficulties in using Redux, but there are no such problems on Nuxt, it works out of the box with Vuex.
The author did not really explain what points he was writing about. I wrote to him, did not answer.
At the moment, I'm just doing a project on Vue, and have adopted Nuxt.js for server-side rendering. But after reading the article, there were fears that unnecessary problems might arise during development.
Question: what is the best way to do SSR on Vue? What difficulties may arise?
Answer the question
In order to leave comments, you need to log in
Nuxt.js vs Custom SSRI am for nuxt, because everything is out of the box, it works like clockwork, a lot of convenient abstractions
how best to do SSR on Vuetake nuxt and be glad that everything works out of the box.
What difficulties may arise?Yes, there shouldn't be any problems. No matter how many projects I did on nuxt, I never ran into an SSR problem. All the difficulties are working with libraries that internally access window or document. You just need to be able to work with such things, otherwise everything is fine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question