tsc error import {Breadcrumb} from 'primeng/primeng'; not fo

UI Components for Angular
Post Reply
mcwebdev
Posts: 68
Joined: 03 Mar 2016, 02:16

03 Mar 2016, 02:53

I am getting a compile error saying that

Code: Select all

 import {Breadcrumb} from 'primeng/primeng'; cannot be found.
Per the docs that is what should be called when wanting a breadcrumb.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

03 Mar 2016, 13:12

Do you just have an issue with Breadcrumb or all other components? Can you just please try with another one like Menu?

mcwebdev
Posts: 68
Joined: 03 Mar 2016, 02:16

03 Mar 2016, 19:02

I was able to download the git PrimeNG starter and have it working there. I figure once I get a little more PrimeNG skills I will go back to the global primeNG demo.

fyi I was also having some ts conversion issues which was probably the cause. I remedied that by reinstalling typings. You may want to add

Code: Select all

npm install typings
to the readme.md

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

03 Mar 2016, 19:12

Thanks, for 0.6.0, I think installing typing won't be necessary as we've removed the requirement. It is still required to build PrimeNG itself though;

https://github.com/primefaces/primeng

But an an app like quickstart to run.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 32 guests