first loose
This commit is contained in:
parent
2fd49000d4
commit
cef463d084
3
src/main/resources/static/styles.css
Normal file
3
src/main/resources/static/styles.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
h1 {
|
||||||
|
color: red;
|
||||||
|
}
|
7
src/main/resources/static/test.js
Normal file
7
src/main/resources/static/test.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
function test() {
|
||||||
|
fetch("http://localhost:8080/hello", {
|
||||||
|
mode:
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
test();
|
11
src/main/resources/templates/index.html
Normal file
11
src/main/resources/templates/index.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns:th = "http://www.thymeleaf.org">
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="/styles.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1> IA WORK!</h1>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user