Hi All,
I’ve almost successfully packaged my Spring Boot Vaadin 12 App as a WAR file for JBoss 7 in production mode.
The issue I have (other than IE11 ) is that although the frontend resources get compiled into their respective frontend-es5 and -es6 directories, the references to resources (images) in the html styles I’ve added, get changed to frontend-es5/frontend.
So for example:
In main-styles.html under src/main/resources/META-INF/frontend/styles/ I have the following…
.logo-label {
background: url("frontend://styles/images/logo.svg");
}
But when ‘inspecting’ the css in the browser I get this:
.logo-label {
background: url('http://localhost:8080/myapp/frontend-es5/frontend/styles/images/logo.svg');
}
Where as the image actually exists at http://localhost:8080/myapp/frontend-es5/styles/images/logo.svg
I’m not sure why frontend:// is being changed to frontend-es5/frontend and not just frontend-es5/
Does anybody have any pointers?
Thanks,
Stuart