how to load css and font locally for jHipster 7

44 Views Asked by At

i noticed that my projet is loading css and fonts online , so when my laptop is offline the project is loaded with no css , i have searched how to load css locally but it looks no much documentation about that.

in index.html i have noticed that jHipster add the url to load fonts and css after this comment

 <!-- jhipster-needle-add-resources-to-root - JHipster will add new resources here -->
1

There are 1 best solutions below

2
Matt Raible On

I tried to reproduce this issue by turning off my internet connection and running ./mvnw clean and ./mvnw spring-boot:run on my jhipster7-demo project. Everything renders just fine. I also tried with JHipster 8 and didn't have any issues.