Hi all,
Looking for a bit of help here. I’ve developed a few mobile apps in the past, so I know hybrid apps (SPAs) can use Angular (in my case) to render route-based pages. But I’ve normally served the apps via ‘ionic serve’.
In the case of Wappler, I’ve create a SPA with two demo pages, in a project with no server-side components. Routing is enabled for the project.
But when I add routing components and point them to the sub-pages, I can’t get them to render in the browser when I’m running a simple node-based http server.
I’ve seen the SPA docker example, but unfortunately, I can’t run docker on this machine.
I’ve no back-end set up in wappler, as the mobile won’t have PHP, Node, etc, so I’m assuming Cordova/Phonegap has some sort of routing component/server/black magic that handles the routing.
But I’ve got no idea how to replicate that on my local PC.
Has anyone got routing working on a desktop like this, and can point me in the right direction?
Regards,
Andy