Define the base path that is prepended to all routes together with a # sign.
{ "app" : { ... "routing" : "/" }, ... }
The app is now reacting to all hashes that start with a slash.
{ ... "pages" : [ ... { "id" : "home", "viewName" : ".views.Home", "route" : "" }, { "id" : "about", "viewName" : ".views.About", "route" : "about" } ] ... }
© 2013 - 2023 PKSoftware.de