resources not exported compiling library because not present into project

UI Components for Angular
Post Reply
pfencer70
Posts: 2
Joined: 17 Mar 2023, 18:24

20 Mar 2023, 21:02

Hi everyone.

For my growing experience in Angular, I cloned github repository of PrimeNG library, I generated it to import into test project to be able to debug and discover how it works.
But I'm facing a problem.
Before this try, I used the library installing it with npm into my project and I added these lines into angular.json file:

"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/themes/md-light-indigo/theme.css",
"node_modules/primeng/resources/primeng.min.css",

Removing the npm package and inserting the compiled library, now I got errors regarding these styles because they are missing into my project.
But I searched them into cloned repository and looking around into primefaces repositories I discovered that I can get primeicons from corresponding repo and the theme css from primeng repo itself, but I didn't find any trace of primeng.min.css.

May any of you suggest how to get it or if it has to be generated with library?

In addition I saw that package.json contains an export directive of a resources folder but even in this case I haven't found any folder with that name.

Hope to get support.
Best regards.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests