SpringBoot整合thymeleaf模板
目录
依赖
<!-- 添加thymeleaf模版的依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
ThymeleafController
StarSpringBoot
index.html
application.yml
运算结果