Ekaterina Galkina wrote:
Then I don't need different views, just one page index.html whose data will be renewed, right? (Single Page Application)
In modern JS SPA frameworks you
do have many views, they're just not displayed through full-page reloads, but rather via changes to the DOM.
So in essence while there is only one "page", there are many views. The old-fashioned concept of a "page" and a "view" being the same thing no longer applies.
In most such frameworks with modern tooling, you don't even create the index.html, it is generated for you. You define the components/views and the concept of "a page" doesn't even really come into play.