I have the following error:
I can resolve the issue if I delete from the page the p-breadcrumb part.EXCEPTION: Error: Uncaught (in promise): EXCEPTION: Error in app/pages/searchPage.html:1:4
ORIGINAL EXCEPTION: No provider for Router!
Code: Select all
<p-breadcrumb>
<ul>
<li><a nohref (click)="goToPage('/index')"><span>Index</span></a></li>
<li><a nohref (click)="goToPage('/searchPage')"><span>Search Page</span></a></li>
</ul>
</p-breadcrumb>
Could you help me?
Thank you
Angelo