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 19 custom preset not being applied in Production outside my VM

Discussão em 'Angular' iniciado por Robert, Julho 17, 2025.

  1. Robert

    Robert Guest

    I have updated my application to Angular and PrimeNG19. Everything works fine locally and even production shows my preset as being applied over Lara on my VM.

    If I try to open production from another device, a mix of Aura and Nora is shown in terms of coloring of PrimeNG components.

    My preset is quite simple:

    export const customPreset= definePreset(Aura, {semantic: {...}, components: {...})


    ;

    And I am using it in storybook module.ts or app.module.ts like

    providers: [
    provideAnimations(),
    providePrimeNG({
    theme: {
    preset: customPreset,
    },
    }),
    ]


    How does it work on my VM both locally and production but on another device if I open storybook Prod I do not see the changes of my Preset?

    Thanks!

    Continue reading...

Compartilhe esta Página