Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missleading typo leads to no theme in documentary #16763

Open
mkccl opened this issue Nov 15, 2024 · 0 comments
Open

Missleading typo leads to no theme in documentary #16763

mkccl opened this issue Nov 15, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@mkccl
Copy link

mkccl commented Nov 15, 2024

Describe the bug

In v18 the documentary has a fatal issue due of using wrong object. Correct version can be found inside the test repo.
https://github.com/primefaces/primeng-quickstart-cli/blob/master/src/app/app.config.ts

the theme: Aura is missing a preset object.

like so.
providePrimeNG({
theme: {
preset: Aura
}
})

https://v18.primeng.org/installation

export const appConfig: ApplicationConfig = {
providers: [
provideAnimationsAsync(),
providePrimeNG({
theme: Aura
})
]
};

Environment

fresh install following the documentation

Reproducer

No response

Angular version

18

PrimeNG version

18

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@mkccl mkccl added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant