Hi. I’ve started my first F7 SPA for Android/iOS using Wappler. Each “page” is in the index.html file and within their own div using this syntax:
<div class="page" data-name="page1"> <!-- content --> </div>
To link between pages I’ve tried this…
<a href="page2" class="link">Page 2</a>
I set up a route where Type is “Page” and the Page Name is “page2”.
I noticed the following is written to routes.js
var routes = [ { "path": "page1", "name": "page1" }, { "path": "page2", "name": "page2" } ]
But nothing happens when I tap the link. I’ve spent hours trying different things, including reading F7 docs and Wappler docs. A Wappler tutorial on this is quite old as the options in the GUI have changed so I couldn’t follow it.
I can’t find an example to achieve this using v3.5.x, assuming it can be done within Wappler’s GUI and without requiring F7 API calls by typing JavaScript (as the F7 docs suggest).
I’d be grateful if someone can push me over this hurdle please?
Thank you.
Gary.