Angular 18.2.12 with 18.0.0 beta #3059
Unanswered
JensonManning
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Yeah I followed the guide for installation and tried a few components. I'm frigging lost. Any help would be awesome cause I'd love to use em but I feel like I'm missing something???
app.config.ts
provideAnimationsAsync(), providePrimeNG({ theme: Aura }),
app.component.ts `import { HttpClient } from '@angular/common/http';
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { ButtonModule } from 'primeng/button';
import { PrimeNG } from 'primeng/config';
import { AccordionModule } from 'primeng/accordion';
@component({
selector: 'app-root',
standalone: true,
imports: [RouterOutlet, ButtonModule, AccordionModule],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
export class AppComponent {
title = 'RPM-FRONT-PRIME';
constructor(
private primeng : PrimeNG,
private http: HttpClient
) {
this.primeng.ripple.set(true);
this.primeng.theme.set({
preset: "Aura",
dark: true,
}
}`
Beta Was this translation helpful? Give feedback.
All reactions