Questions tagged [angular-auxiliary-routes]
28 questions
1
vote
0 answers
Set default path for Angular auxiliary route
so I have this setup . It sets the default path for left-router the ExploreAllComponent as you can see. I want the first routerLink to direct to the outlet's home path, but this way it's not working. I've tried with '/', but it isn't working…

Natixco
- 651
- 5
- 20
1
vote
1 answer
Lazy load component into Angular auxiliary outlet
I have the following routes configuration:
const routes: Routes = [
{
path: '',
pathMatch: 'full',
redirectTo: 'container-page'
},
{
path: 'container-page',
component: ContainerPage,
…

Osmany Torres
- 11
- 4
1
vote
0 answers
Angular dynamic named outlets
I'm trying to use Angular's named outlet feature to accomplish something very specific but I can't seem to get it working.
What I'm trying to do is build a window manager. To do this I thought the new named outlets would be perfect for this.
I want…

Dave
- 65
- 5
1
vote
2 answers
Angular 2 Router - change just named outlet
I have a primary router outlet and a named outlet. The primary outlet contains a child router outlet. When I try to change just the named outlet, it fails - I get routed to the default primary route and nothing happens in the named…

TimTheEnchanter
- 3,370
- 1
- 26
- 47
0
votes
1 answer
How to route to auxiliary route programmatically with param
I have a component that receives an event from a child component, like so:
In my function route I would like to route to a url that contains the URL I'm currently on, PLUS the auxiliary…

Que
- 957
- 2
- 14
- 35
0
votes
1 answer
Angular 13: Lazy loaded module with multiple outlets not showing
Angular version
^13.3.9
Problem
When using multiple outlets and trying to render multiple of then in a lazy module makes the angular router route correctly BUT the outlet is not being rendered.
Flow (See example)
User goes to home page url=''. This…

Ownerszz
- 40
- 1
- 6
0
votes
1 answer
Navigation from auxiliary route to another child route
I have routes:
const routes: Routes = [
{path: 'all', component: NodepadComponent, children: [
{path: 'create', component: NotepadCreateComponent},
{path: 'note/:id', component: NotepadItemComponent, outlet: 'item'}]
}];
I want to…

vazha
- 58
- 6
0
votes
1 answer
How to return from auxiliary routes in an Angular 12 app
I have an Angular 12 app which displays a list of things on the left and the detail of the selected thing on the right. Because users should be able to get a deeplink to a specific thing, the selection is done through the Angular router. This part…

Daniel Klier
- 1
- 3
0
votes
1 answer
Angular auxiliary routes works locally but not when deployed
I have a problem with direct access to a Auxiliary route. When I am accessing /home/(post:12) locally everything work just fine. But when I am trying to do it when app is deployed to github pages, wild 404 appears.
Basically the auxiliary route is…

mhld
- 163
- 2
- 9
0
votes
1 answer
Routing to auxiliary route is not working with router.navigate
In my angular 8 app, when the home page is first loaded, it appends the (sidebar:homesidebar) auxiliary route to the url and loads the homesidebar just fine. On the homesidebar, there is a login button and when clicked it navigates to the login…

Raj Narayanan
- 2,443
- 4
- 24
- 43
0
votes
0 answers
Child component auxilory routes not redirecting
I am working on an angular admin panel project. The admin login part is complete and in dash board, I have a side navigation menu, on clicking of a menu item, the corresponding component need to load in the main body div. I have my main…

Harikrishnan
- 7,765
- 13
- 62
- 113
0
votes
1 answer
How to serialize Angular URL with auxiliary routing?
Currently what is being happening is, when you navigate to any aux route the URL page will be
my-url/(router-name:aux)
What I want is, it should be something like
my-url/router-name/aux
Is this even logical? I don't know if it will contradict…

TheTom
- 298
- 3
- 15
0
votes
1 answer
Angular 6 Auxillary routes
am trying to do the following
I successfully able to navigate to side nav bar using router-outlet and app.routing-module.ts. I tried auxiliary routing for the tabs inside the Nav4 component. But it got failed. Can anyone help me out on…

Prabhakaran
- 1,524
- 2
- 13
- 21