My Routes:
{ id: 'domains', path: 'domains', component: () => import('./resources/routes/domains'), title: 'Domains'},
{ id: 'members', path: 'members', component: () => import('./resources/routes/members'), title: 'Members' }
Anchor Tag on domains view:
...
<a load="route:members; params.bind: {daa: 1};">...</a>
...
Produces this in the code:
<a href="/#/domains/members(daa=1)"> ... </a>
This is incorrect. It should be: /#/members?daa=1
If I switch load
with this:
href="members?daa=1"
Get an error as the url fragement
is missing` in the route.
href="#/members?daa=1"
and click on it, then it navigates to the correct route. However, the url in the browsers url bar is this:
http://localhost:9000/?daa=1#/members
Further, If i try using router.load
this.router.load('members', {
queryParams: { d1: 'test1' }
}
This creates the same weird route as above:
http://localhost:9000/?d1=test1#/members
What’s going in here? Am I doing something wrong?