Thymeleaf demo
kryzalid87 opened this issue · 2 comments
kryzalid87 commented
Hi, can you provide us a, simplest as it can, application demo using Thymeleaf - merging and minifying two CSS or JS files. I was looking on project provided by you on the bottom, but I have always problems and ends with not working version.
Thank a lot for any help :)
michael-simons commented
Hi.
See attachment: wro4jdemo.zip. Unzip and run with mvn spring-boot:run
and goto http://localhost:8080. You'll see pink on black, coming from 2 css sheets that are concatenated and minified with
<?xml version="1.0" encoding="UTF-8"?>
<groups xmlns="http://www.isdc.ro/wro">
<group name="demo">
<css>/style1.css</css>
<css>/style2.css</css>
</group>
</groups>
Pretty straight forward, I hope.
kryzalid87 commented
Thank you very much. Now all makes more sens. Was trying for ages to make it work, and now see that I had issue in xml file. Noob problem