1.创建springboot项目(前面帖子有写)
2.多加一个依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
这个thymeleaf是springboot推荐使用的模板,但是没想到用html这个还得加上,肯定能修改,但具体还得再看看怎么改下
3.在resource下面建一个templates,下面放html
这东西也可以配置,配置到别的地方