Primeng 15.1.1 fontawesome AppMenuComponent

UI Components for Angular
Post Reply
tfactory
Posts: 1
Joined: 09 Jun 2018, 01:39

16 Mar 2023, 02:17

Hi,
i installed @fortawesome/angular-fontawesome and setting up follow instruction from https://www.npmjs.com/package/@fortawes ... ontawesome
but how to use icon in app.menu.component.ts instead of primeng icon?

Code: Select all

        this.model = [
            {
                label: 'Dashboards',
                icon: 'pi pi-home',
                items: [
                    {
                        label: 'Sales Dashboard',
                        icon: 'faCoffee',
                        routerLink: ['/']
                    }, 
I have try some suggestion from this forum (old answer) and stackoverflow without success.
Someone has the same issue and was able to solve ?
thanks

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests