Angular material sidenav with flex-layout - Not able to route to different pages











up vote
-1
down vote

favorite












Need help on how to route to different pages when I click on hyper links (when the browser is full window and not full window, that means the menu at the right top corner).



Created this stackblitz.



Do I must need mat-sidenav-content fxFlexFill and provide height mat-sidenav-container



.mat-sidenav-container{
background-color: lightskyblue;
min-height: 93vh !important;
}

<div>
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>
</mat-sidenav-container>
</div>









share|improve this question






















  • Do you have an issue ? It seems to work and you don't ask any question ...
    – trichetriche
    Nov 20 at 14:53










  • @trichetriche - Yes, I had the question and it was "how to route to different pages when I click on hyper links"
    – SK.
    Nov 21 at 16:52















up vote
-1
down vote

favorite












Need help on how to route to different pages when I click on hyper links (when the browser is full window and not full window, that means the menu at the right top corner).



Created this stackblitz.



Do I must need mat-sidenav-content fxFlexFill and provide height mat-sidenav-container



.mat-sidenav-container{
background-color: lightskyblue;
min-height: 93vh !important;
}

<div>
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>
</mat-sidenav-container>
</div>









share|improve this question






















  • Do you have an issue ? It seems to work and you don't ask any question ...
    – trichetriche
    Nov 20 at 14:53










  • @trichetriche - Yes, I had the question and it was "how to route to different pages when I click on hyper links"
    – SK.
    Nov 21 at 16:52













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











Need help on how to route to different pages when I click on hyper links (when the browser is full window and not full window, that means the menu at the right top corner).



Created this stackblitz.



Do I must need mat-sidenav-content fxFlexFill and provide height mat-sidenav-container



.mat-sidenav-container{
background-color: lightskyblue;
min-height: 93vh !important;
}

<div>
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>
</mat-sidenav-container>
</div>









share|improve this question













Need help on how to route to different pages when I click on hyper links (when the browser is full window and not full window, that means the menu at the right top corner).



Created this stackblitz.



Do I must need mat-sidenav-content fxFlexFill and provide height mat-sidenav-container



.mat-sidenav-container{
background-color: lightskyblue;
min-height: 93vh !important;
}

<div>
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>
</mat-sidenav-container>
</div>






angular angular-material angular-flex-layout






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 20 at 14:50









SK.

367216




367216












  • Do you have an issue ? It seems to work and you don't ask any question ...
    – trichetriche
    Nov 20 at 14:53










  • @trichetriche - Yes, I had the question and it was "how to route to different pages when I click on hyper links"
    – SK.
    Nov 21 at 16:52


















  • Do you have an issue ? It seems to work and you don't ask any question ...
    – trichetriche
    Nov 20 at 14:53










  • @trichetriche - Yes, I had the question and it was "how to route to different pages when I click on hyper links"
    – SK.
    Nov 21 at 16:52
















Do you have an issue ? It seems to work and you don't ask any question ...
– trichetriche
Nov 20 at 14:53




Do you have an issue ? It seems to work and you don't ask any question ...
– trichetriche
Nov 20 at 14:53












@trichetriche - Yes, I had the question and it was "how to route to different pages when I click on hyper links"
– SK.
Nov 21 at 16:52




@trichetriche - Yes, I had the question and it was "how to route to different pages when I click on hyper links"
– SK.
Nov 21 at 16:52












1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Your problem isn't actually a problem. The reason your not seeing the router work is because you are rendering an element on top of your router outlet



<div> 
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content // <-- RIGHT HERE should be router outlet, this is what is displayed as the main 'content'
</mat-sidenav-content>
</mat-sidenav-container>
</div>


so change



<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>


to



<mat-sidenav-content fxFlexFill>
<router-outlet></router-outlet>
</mat-sidenav-content>





share|improve this answer





















  • Thank you for the clue that to keep the router-outlet inside mat-sidenav-content. Not sure why I am not getting this in any tutorial or examples. I see someone downvoted my question. Would you mind to upvote that. If I get couple of more -ve vote, I can't ask questions anymore in this forum. Thanks in advance!
    – SK.
    Nov 21 at 15:55










  • @SK Nice to hear you solved the problem. I'm not going to just give you up-votes, that wouldn't be constructive. What you can do is edit your post and improve on feedback people give you (look at the comment below your post hint hint). If you improve your post, the person that down-voted might revoke his vote.
    – Teun van der Wijst
    Nov 21 at 15:57










  • (just to be clear, it wasn't me that downvoted your question, I usually downvote answers)
    – trichetriche
    Nov 21 at 16:54











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53395593%2fangular-material-sidenav-with-flex-layout-not-able-to-route-to-different-pages%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Your problem isn't actually a problem. The reason your not seeing the router work is because you are rendering an element on top of your router outlet



<div> 
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content // <-- RIGHT HERE should be router outlet, this is what is displayed as the main 'content'
</mat-sidenav-content>
</mat-sidenav-container>
</div>


so change



<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>


to



<mat-sidenav-content fxFlexFill>
<router-outlet></router-outlet>
</mat-sidenav-content>





share|improve this answer





















  • Thank you for the clue that to keep the router-outlet inside mat-sidenav-content. Not sure why I am not getting this in any tutorial or examples. I see someone downvoted my question. Would you mind to upvote that. If I get couple of more -ve vote, I can't ask questions anymore in this forum. Thanks in advance!
    – SK.
    Nov 21 at 15:55










  • @SK Nice to hear you solved the problem. I'm not going to just give you up-votes, that wouldn't be constructive. What you can do is edit your post and improve on feedback people give you (look at the comment below your post hint hint). If you improve your post, the person that down-voted might revoke his vote.
    – Teun van der Wijst
    Nov 21 at 15:57










  • (just to be clear, it wasn't me that downvoted your question, I usually downvote answers)
    – trichetriche
    Nov 21 at 16:54















up vote
0
down vote



accepted










Your problem isn't actually a problem. The reason your not seeing the router work is because you are rendering an element on top of your router outlet



<div> 
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content // <-- RIGHT HERE should be router outlet, this is what is displayed as the main 'content'
</mat-sidenav-content>
</mat-sidenav-container>
</div>


so change



<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>


to



<mat-sidenav-content fxFlexFill>
<router-outlet></router-outlet>
</mat-sidenav-content>





share|improve this answer





















  • Thank you for the clue that to keep the router-outlet inside mat-sidenav-content. Not sure why I am not getting this in any tutorial or examples. I see someone downvoted my question. Would you mind to upvote that. If I get couple of more -ve vote, I can't ask questions anymore in this forum. Thanks in advance!
    – SK.
    Nov 21 at 15:55










  • @SK Nice to hear you solved the problem. I'm not going to just give you up-votes, that wouldn't be constructive. What you can do is edit your post and improve on feedback people give you (look at the comment below your post hint hint). If you improve your post, the person that down-voted might revoke his vote.
    – Teun van der Wijst
    Nov 21 at 15:57










  • (just to be clear, it wasn't me that downvoted your question, I usually downvote answers)
    – trichetriche
    Nov 21 at 16:54













up vote
0
down vote



accepted







up vote
0
down vote



accepted






Your problem isn't actually a problem. The reason your not seeing the router work is because you are rendering an element on top of your router outlet



<div> 
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content // <-- RIGHT HERE should be router outlet, this is what is displayed as the main 'content'
</mat-sidenav-content>
</mat-sidenav-container>
</div>


so change



<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>


to



<mat-sidenav-content fxFlexFill>
<router-outlet></router-outlet>
</mat-sidenav-content>





share|improve this answer












Your problem isn't actually a problem. The reason your not seeing the router work is because you are rendering an element on top of your router outlet



<div> 
<mat-toolbar color="primary">
<div fxShow="true" fxHide.gt-sm="true">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>menu</mat-icon>
</button>
</div>

<a mat-button class="companyName" routerLink="/">
<span>Site name</span>
</a>
<span class="example-spacer"></span>
<div fxShow="true" fxHide.lt-md="true">
<a mat-button routerLink="/about">About us</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>

</mat-toolbar>
<mat-sidenav-container fxFlexFill class="example-container">

<mat-sidenav color="primary" #sidenav fxLayout="column" mode="over" opened="false" fxHide.gt-sm="true">
<div fxLayout="column">
<a mat-button routerLink="/about">About us..</a>
<a mat-button routerLink="/prices">Prices</a>
<a mat-button routerLink="/start-page">Start page</a>
<a mat-button routerLink="/offer">Offer</a>
<a mat-button routerLink="/contact">Contact</a>
</div>
</mat-sidenav>
<mat-sidenav-content fxFlexFill>
Awesome content // <-- RIGHT HERE should be router outlet, this is what is displayed as the main 'content'
</mat-sidenav-content>
</mat-sidenav-container>
</div>


so change



<mat-sidenav-content fxFlexFill>
Awesome content
</mat-sidenav-content>


to



<mat-sidenav-content fxFlexFill>
<router-outlet></router-outlet>
</mat-sidenav-content>






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 20 at 15:04









Teun van der Wijst

552215




552215












  • Thank you for the clue that to keep the router-outlet inside mat-sidenav-content. Not sure why I am not getting this in any tutorial or examples. I see someone downvoted my question. Would you mind to upvote that. If I get couple of more -ve vote, I can't ask questions anymore in this forum. Thanks in advance!
    – SK.
    Nov 21 at 15:55










  • @SK Nice to hear you solved the problem. I'm not going to just give you up-votes, that wouldn't be constructive. What you can do is edit your post and improve on feedback people give you (look at the comment below your post hint hint). If you improve your post, the person that down-voted might revoke his vote.
    – Teun van der Wijst
    Nov 21 at 15:57










  • (just to be clear, it wasn't me that downvoted your question, I usually downvote answers)
    – trichetriche
    Nov 21 at 16:54


















  • Thank you for the clue that to keep the router-outlet inside mat-sidenav-content. Not sure why I am not getting this in any tutorial or examples. I see someone downvoted my question. Would you mind to upvote that. If I get couple of more -ve vote, I can't ask questions anymore in this forum. Thanks in advance!
    – SK.
    Nov 21 at 15:55










  • @SK Nice to hear you solved the problem. I'm not going to just give you up-votes, that wouldn't be constructive. What you can do is edit your post and improve on feedback people give you (look at the comment below your post hint hint). If you improve your post, the person that down-voted might revoke his vote.
    – Teun van der Wijst
    Nov 21 at 15:57










  • (just to be clear, it wasn't me that downvoted your question, I usually downvote answers)
    – trichetriche
    Nov 21 at 16:54
















Thank you for the clue that to keep the router-outlet inside mat-sidenav-content. Not sure why I am not getting this in any tutorial or examples. I see someone downvoted my question. Would you mind to upvote that. If I get couple of more -ve vote, I can't ask questions anymore in this forum. Thanks in advance!
– SK.
Nov 21 at 15:55




Thank you for the clue that to keep the router-outlet inside mat-sidenav-content. Not sure why I am not getting this in any tutorial or examples. I see someone downvoted my question. Would you mind to upvote that. If I get couple of more -ve vote, I can't ask questions anymore in this forum. Thanks in advance!
– SK.
Nov 21 at 15:55












@SK Nice to hear you solved the problem. I'm not going to just give you up-votes, that wouldn't be constructive. What you can do is edit your post and improve on feedback people give you (look at the comment below your post hint hint). If you improve your post, the person that down-voted might revoke his vote.
– Teun van der Wijst
Nov 21 at 15:57




@SK Nice to hear you solved the problem. I'm not going to just give you up-votes, that wouldn't be constructive. What you can do is edit your post and improve on feedback people give you (look at the comment below your post hint hint). If you improve your post, the person that down-voted might revoke his vote.
– Teun van der Wijst
Nov 21 at 15:57












(just to be clear, it wasn't me that downvoted your question, I usually downvote answers)
– trichetriche
Nov 21 at 16:54




(just to be clear, it wasn't me that downvoted your question, I usually downvote answers)
– trichetriche
Nov 21 at 16:54


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53395593%2fangular-material-sidenav-with-flex-layout-not-able-to-route-to-different-pages%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

To store a contact into the json file from server.js file using a class in NodeJS

Marschland

Redirect URL with Chrome Remote Debugging Android Devices