<!-- common-script -->
<th:block th:fragment="common-script">
<!--CDN资源-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
</th:block>
thymeleaf - the introduction of script resources - th: block
Guess you like
Origin blog.csdn.net/LawssssCat/article/details/104078714
Recommended
Ranking