V
V
vitaly_742022-02-20 05:16:16
Vue.js
vitaly_74, 2022-02-20 05:16:16

Did I choose the right set of tools?

It is necessary to make a website with the following requirements:
* I want to have several pages: login / registration, main, admin. Everyone will have different layouts
* I don't want to download all the code to the user on first access.
* I want to create the layout of the page before javascipt runs on the client (SSR because it will need seo).
Now attracted the attention of nuxt js, because. it has ssr but I don't understand much, when it renders on the server side it always returns SPA?
is it possible to make nuxt SSR + MPA (multi-page app)?
I would also like to explain why I need just such a site and not spa as far as I understand, the spa loads the entire application the first time the user accesses the site, but I would like to give the user only the page that he requested the first time, not the entire application, but the rest the application would like to load in the background while the user is browsing the material presented on the page

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Temur__k, 2022-02-21
@Temur__k

"spa loads the whole application the first time the user accesses the site, but I would like to give the user only the page that he requested the first time" - in both spa and nuxt ssr you can give the page that you requested, this is called lazy load pages.

A
Alexander, 2022-02-21
@Aleksandr-JS-Developer

https://router.vuejs.org/guide/advanced/lazy-loadi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question