mirror of
https://github.com/Febbweiss/springboot-react-webpack.git
synced 2026-03-05 06:35:36 +00:00
First commit
This commit is contained in:
16
src/main/resources/application.yml
Normal file
16
src/main/resources/application.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
spring:
|
||||
main:
|
||||
banner_mode: off
|
||||
|
||||
project:
|
||||
artifactId: template
|
||||
name: Demo
|
||||
version: X.X.X
|
||||
description: Demo project for info endpoint
|
||||
|
||||
info:
|
||||
build:
|
||||
artifact: ${project.artifactId}
|
||||
name: ${project.name}
|
||||
description: ${project.description}
|
||||
version: ${project.version}
|
||||
10
src/main/resources/templates/greeting.html
Normal file
10
src/main/resources/templates/greeting.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title>Getting Started: Serving Web Content</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
<body>
|
||||
<p th:text="'Hello, ' + ${name} + '!'" />
|
||||
</body>
|
||||
</html>
|
||||
17
src/main/resources/templates/index.html
Normal file
17
src/main/resources/templates/index.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head lang="en">
|
||||
<meta charset="UTF-8"/>
|
||||
<title>ReactJS</title>
|
||||
<link rel="stylesheet" href="/css/react-bootstrap.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="content"></div>
|
||||
|
||||
<script src="/js/react-bootstrap.js"></script>
|
||||
<script src="/js/bundle.js"></script>
|
||||
<script src="/js/app.js"></script>
|
||||
<script src="/js/app.render.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user