primeng@Latest: Inconsistency in document
Describe the bug
According to the official website, after installing the latest version of primeng npm install primeng do the following for prime ng styles:
But the latest primeng version i.e. 18.0.0 does not contain any resource folder.
Environment
Win10 64
Reproducer
No response
Angular version
18.2.0
PrimeNG version
18.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.15.1
Browser(s)
Edge
Steps to reproduce the behavior
- Install
npm i primeng - paste
@import "primeng/resources/themes/lara-light-blue/theme.css"; @import "primeng/resources/primeng.css";in style.scss/css.
Expected behavior
Resource folder unrecognized by the IDE or the compiler.
The theming system has changed in PrimeNG v18.
To configure it, you need to follow the steps described here:
https://v18.primeng.org/configuration
Be careful, the documentation on the website still defaults to the V17.
The documentation site has been updated to v18, so this should be resolved now.
https://primeng.org/installation