How to get background variables correctly in js after thymeleaf3.0.0

thymeleaf 2.+ requires

< script th:inline= "javascript" > declare this

Is there a better way after

thymeleaf3? can the declaration be omitted? I read the document saying that it is recommended to remove

.

Template updates

remove any th:inline= "text" attributes

Menu