#Angular auxiliary route equivalent in qwik

4 messages · Page 1 of 1 (latest)

lilac frost
#

Hi everyone, I'm looking at rewriting a small business app from angular to Qwik.

I have hit a little snag, the current app has a "master-detail " secondary named route that has been implemented using an Angular "Auxiliary" Route.
The users love this functionality & I can see why. Having a secondary "master-detail" route that is tracked in the URL bar is really handy to them & increases their efficiency, especially when collaborating between each other.

https://blog.angular-university.io/angular2-router/
https://angular.io/api/router/RouterOutlet#description

Does anyone have any idea how you would achieve this in Qwik / Qwik City ?

Essentially I need:

  • A primary router outlet
  • A secondary router outlet
    -The state of both have to be tracked in the URL bar like angular does.

Could I do it with containers ?

Angular University

This is a comprehensive guide to the fundamental concepts of the Angular Router: routes, paths, components, outlets. We will cover both child and auxiliary routes, and we will learn how to setup the very commonly used Master Detail routing scenario.

#

Angular auxiliary route equivalent in qwik

austere moon
#

I don't believe multiple outlets are supported yet.

loud sphinx
#

give a shot to the named slots; it may be an alternative