Starting using App Connect Routing for the first time and was pleasantly surprised at how well it works and easy it is. Being the hand coder I am(well, for some stuff), I copied and pasted the code output on the index page and added the routes using the interface. Doing this broke everything, so I guess some stuff is added using the app connect interface that I cannot see/find and copy/pasting is not the way to work faster here.
With everything broken, I am trying to start from scratch, but the routing panel’s delete in the top and right click option is not doing anything I can see…
Where do you insert the routing data. On mobile it’s easy to select a file, but with desktop apps I cannot see where this is stored i.e. routes.js or app.js.
Any idea how I can clear the routing data and try again…?
Getting Error 404 on all the routes except the initial content area that displays when first loading index.html
You should never copy and paste routing data between pages. There is the UI that you must use for this.
I strongly suggest checking the documentation and follow what is explained there:
The routing data is kept in routing.json file in .wappler folder.
Also it’s being written in the .htaccess file, so you can remove them and start again.
My situation is that I have already existing content sections. I do not put everything on the index page and then “move” them as per tutorial.
The tutorial only shows the routing panel for the first route and does not show it after the 2 content sections were moved to content pages, so I cannot check to confirm if there is a type of tree with a subroute within the main route. My first attempt created it that way and it worked at first.
Please provide a link to your page with the clientside routes where you are “getting 404”. It’s not clear from your screenshots what are you trying to do exactly.
no - locally I am just working on masterfulltasking folder and not in subfolder. I just had to upload to my company website in a subfolder - when going live it will be in public_html of masterfull domain