In my page, I have two links, addUser and viewUser. Now my requirement is on clicking addUser, the page should redirect to the addUser component replacing both the links. How to do it?
Asked
Active
Viewed 11 times
0
-
What have you tried so far? Please add some code that you have tried so others can spot / correct your mistakes (if any). It's hard to say why is your routing not working without knowing what you have done so far? – AD8 Jun 28 '18 at 06:39
-
WOuld be easier if you have showed an example – Skel Jun 28 '18 at 09:13