Using Thymeleaf with external JS and CSS files.
An example project showing how to use Thymeleaf template resolvers to handle web pages which import external JavaScript and CSS files - all of which contain Thymeleaf expressions.
A more detailed walk-through of this code can be found here.