Skip to content

Docs: installation suggests adding deprecated provideAnimationsAsync #19318

@iv0rye

Description

@iv0rye

Describe the bug

Documentation for installation under getting started suggests that you have to add the deprecated provideAnimationsAsync provider into app.config.ts.

PrimeNG no longer requires this provider, and therefore it is misleading especially to beginners installing PrimeNG

Pull Request Link

#19319

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/github/primefaces/primeng-issue-template

Environment

Windows 11

Angular version

21.0.0

PrimeNG version

v21

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to https://primeng.org/installation
  2. See under provider subsection

Expected behavior

The guide should state: Add providePrimeNG to the list of providers in your app.config.ts and use the theme property to configure a theme such as Aura.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: DocumentationIssue or pull request is related to DocumentationType: BugIssue contains a bug related to a specific component. Something about the component is not working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions