Kumaran Masilamani
03/25/2021, 11:14 AMRobert Jaros
03/25/2021, 11:26 AMLars Erik Rojeras
03/26/2021, 7:57 AM<link rel="icon" href="tpnet.png" type="image/png">
Kumaran Masilamani
03/26/2021, 10:28 AMKumaran Masilamani
03/26/2021, 10:28 AMRobert Jaros
03/26/2021, 10:38 AMKumaran Masilamani
03/26/2021, 11:05 AMhttp://localhost:8080/img/favicon.png▾
Robert Jaros
03/26/2021, 12:01 PMRobert Jaros
03/26/2021, 12:04 PMRobert Jaros
03/26/2021, 12:06 PMBOOT-INF/lib
you should have a <project>-frontend-<version>.jar
fileRobert Jaros
03/26/2021, 12:07 PMpublic/img/favicon.png
)Robert Jaros
03/26/2021, 12:09 PMKumaran Masilamani
03/26/2021, 2:17 PMRobert Jaros
03/26/2021, 2:40 PMsrc/frontendMain/web/img/
folder in your project but no img
inside frontend jar /public/
?Robert Jaros
03/26/2021, 2:41 PMbuild/distributions
- is img
there?Robert Jaros
03/26/2021, 2:49 PMsrc/frontendMain/web/img
and not src/frontendMain/resources/img
?Kumaran Masilamani
03/26/2021, 3:31 PMKumaran Masilamani
03/26/2021, 3:42 PMRobert Jaros
03/26/2021, 3:56 PMresources
folder should be used with the require()
function and are processed by webpack (images are mangled, css inlined, etc.), the web
folder on the other hand is just copied to the destination bundle (zip file, fatjar etc) and all elements can be used directly from the browser (and from the index.html
file).