Skip to content

Commit 58372c0

Browse files
committed
Spring Boot Thymeleaf Vue2
1 parent e121184 commit 58372c0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

springboot-thymeleaf-vue2/src/main/resources/application.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
server.port=9019
12
#####Thymeleaf\u914D\u7F6E\u6587\u4EF6
3+
#\u8BBE\u7F6E\u9875\u9762\u7F13\u5B58
24
spring.thymeleaf.cache=false
35
spring.thymeleaf.mode=HTML
46
#\u7F16\u7801
@@ -9,5 +11,4 @@ spring.thymeleaf.servlet.content-type=text/html
911
#\u524D\u7F00
1012
spring.thymeleaf.prefix=classpath:/templates/
1113
#\u540E\u7F00
12-
spring.thymeleaf.suffix=.html
13-
server.port=9019
14+
spring.thymeleaf.suffix=.html
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
<!DOCTYPE html>
21
<html lang="en" xmlns:th="http://www.thymeleaf.org">
32
<script th:src="@{/js/axios.min.js}"></script>
43
<script th:src="@{/js/vue.min.js}"></script>
54
<script th:src="@{/js/element-ui.min.js}"></script>
6-
<link rel="stylesheet" th:href="@{/css/element-ui.min.css}" type="text/css">
7-
</html>
5+
<link rel="stylesheet" th:href="@{/css/element-ui.min.css}" type="text/css">

0 commit comments

Comments
 (0)