thymeleaf 模版 异步加载

如何在thymeleaf中ajax实现模版动态渲染 ajax请求到数据后重新渲染页面

https://www.thymeleaf.org/doc/tutorials/2.1/thymeleafspring.html#ajax-fragments

https://blog.csdn.net/hry2015/article/details/73476973

$.ajax({
url: '',
type: 'POST',
data: {},
contentType: false,
processData: false,
success: function (args) {
$("#xxx").val(args.xxx);
}