Skip to content

Jhipster 8.8.0 Microfront end, with primeng 19 style issue #28655

@NNanosoft

Description

@NNanosoft
Overview of the issue

I create a gateway and blog microservice with microfront end, I added the primeng package with primeng themes on both gateway and microservice, setup the theme on the gateway app.config.ts. Then I added a primeng button on home screen and Blogs list screen. When I run the gateway and the microservice application with mvnw command, the button on the home screen is loaded correctely with style and variables, when I navigate to the blog list screen using the navigation bar the button on the blog list is loaded correctelly with style and variables too,

Image

Image

but when I refresh the blog list screen (with F5 button or clicking refesh button on the browser) the primeng button doesn't load properly and on the page header the button-style is loaded but not button-variable

Image

Image

Motivation for or Use Case

I think that this is a bug on webpack config generated by JHipster because I did the same on project with angular and it works fine there.

Reproduce the error

to repoduce this issue, I create a github repository with demo application: https://github.com/NNanosoft/primeng-mf-jhipster

Related issues
Suggest a Fix
JHipster Version(s)

I did the test with JHipster 8.8.0

Browsers and Operating System

Windows 11
The command line is launched with PowerShell.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions