html - Angular2 routing click on menu item -


i'm using angular2. right user has click on menu item text go page:

<li><a [routerlink]="['/login']">login</a></li> 

enter image description here

how can make sure when user clicks on blue goes next page? (i use flexbox).

thankyou

sounds css problem me. a elements inline default. can make them block-level take available space:

li {   display: block; } 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -