I have my Angular 5 project. After login, the router is running, but the router does not work when I refresh the page.
I have not tried this as a solution but it did not work. I would appreciate if you help.
Link:
2-> How to reload the current route with the angular 2 router
Code:
<li>
<a routerLink="/profile">
<i class="fi flaticon-user"></i>
profile
</a>
</li>