Teodor
April 19, 2022, 8:06am
4
Sorry can you explain your idea more detailed? Are you using nodejs? And what exactly are you trying to achieve? Creating SPA for nodejs is done differently:
A single page application (SPA) is a web site/app that re-renders its content in response to navigation actions like clicking a link, without reloading the whole page. It consists of main template and different views, which are rendered in the main template.
SPA for NodeJS
It’s possible to build SPA pages and enable partial refresh thanks to NodeJS templating system.
In our example we will show you a simple SPA page, containing of a main layout with navbar and two views, which will be loaded …