Answer the question
In order to leave comments, you need to log in
Which components to use & Vue or Nuxt?
Hello. I started learning Vue and I am translating one of the projects to it in order to immediately practice the documentation I read.
Here is an example of a site that is somewhat similar to the ones I make.
There are a few things I can't figure out, I hope someone can help me figure it out:
Answer the question
In order to leave comments, you need to log in
1. If you need SSR or even statics in general. This is its purpose, if you read the doc.
2. Inside the page or component and do what's the problem? This is not done by means of Nuxt, it is not intended for this at all, what does it have to do with it? Transitioning pages is another matter, this is on the vue-router topic.
3. For Nuxt? One that supports SSR.
4. A bunch of them.
5. The question is not clear. Which is better depends on your goals. It is possible without a backend, depending on your data.
1. As already written earlier, to answer the question, you need to decide for yourself regarding the degree of need for server rendering (although Vue 3 can also do it, so the difference is not so fundamental now). For example, do you need search engines to index your site? If yes, then Nuxt.js, no, then it’s better to start with Vue.js, and then expand your horizons.
2. Nuxt.js is the same as Vue.js, so you can use this .
3. Try wrapping in <client-only></client-only>
, I recommend vue agile .
4. Do it yourself better, it's not difficult.
5. If there is no backing, then you can go to static, also from docker, pm2, etc. options.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question