1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

PrimeNG component's appearance differs when running in local environment

Discussão em 'Angular' iniciado por Mr. A, Outubro 14, 2024.

  1. Mr. A

    Mr. A Guest

    I was testing to check the look and feel of PrimeNG components (v17.18.11).

    Followed the installation steps and then ran the app locally to check the UI components.

    Taking an example of table component, below is the screenshot from the PrimeNG docs: [​IMG]

    And here's the screenshot of my local app implementing the table: [​IMG]

    I can see that there's a slight look difference in between both (probably the fonts). And this is with all other components also.

    I have already added the core and theme styles in angular.json file:

    "styles": [
    "node_modules/primeng/resources/themes/lara-light-blue/theme.css",
    "node_modules/primeng/resources/primeng.min.css",
    "src/styles.scss"
    ]


    Can anyone kindly explain why is this happening? Do I need to set something else here?

    Thanks.

    Continue reading...

Compartilhe esta Página