brad
December 19, 2024, 5:25pm
11
Ah! I see what is happening. You are using Node instead of PHP. That is the wrong way to add routes. I can recreate the issue here as well. Routes on a Node site should be set up using the routes panel, not the page/app routes.
App Routes should not be available in a Node project.
You probably used this tutorial .... it is for PHP and ASP only.
This tutorial is for PHP and ASP.NET server models. If you are using Nodejs, the. Please go to: Building SPA pages with NodeJS Setup
A single page application (SPA) is a website 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.
This tutorial is for PHP and ASP.NET server models. If you are using Nodejs, the. Please go to: Building SPA pages with NodeJS
Setup Template and Views
We created an index.html file in our root folder. It contains a navbar and two sections wit…
You needed to follow this one ...
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 …
1 Like