primeng icon indicating copy to clipboard operation
primeng copied to clipboard

primeng@Latest: Inconsistency in document

Open ShahrozS opened this issue 1 year ago • 2 comments

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: image

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

  1. Install npm i primeng
  2. 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.

ShahrozS avatar Dec 08 '24 15:12 ShahrozS

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.

Mickael-Martinez avatar Dec 08 '24 17:12 Mickael-Martinez

The documentation site has been updated to v18, so this should be resolved now.

https://primeng.org/installation

c-o-l-i-n avatar Dec 09 '24 19:12 c-o-l-i-n