Properly setup tailwind
This commit is contained in:
parent
fb777c4bc9
commit
8b1c18ae8d
2
.gitignore
vendored
2
.gitignore
vendored
@ -34,3 +34,5 @@ build/
|
|||||||
|
|
||||||
### css compiled by tailwind ###
|
### css compiled by tailwind ###
|
||||||
src/main/resources/static/main.css
|
src/main/resources/static/main.css
|
||||||
|
|
||||||
|
node_modules/
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "tailwindcss -i ./main.css -o ../static/main.css --watch",
|
"dev": "tailwindcss -i ./main.css -o ./src/main/resources/static/main.css --watch",
|
||||||
"build": "tailwindcss -i ./main.css -o ../static/main.css --minify"
|
"build": "tailwindcss -i ./main.css -o ./src/main/resources/static/main.css --minify"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
6
pom.xml
6
pom.xml
@ -17,6 +17,12 @@
|
|||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||||
|
1
src/main/resources/frontend/.gitignore
vendored
1
src/main/resources/frontend/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
node_modules
|
|
@ -19,7 +19,7 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1 class="font-black text-4xl p-4 m-4 border-2 border-[black] rounded-md bg-c-surface-variant text-c-on-surface-variant">
|
<h1 class="font-black text-4xl p-4 m-4 border-2 border-[black] rounded-md bg-c-surface-variant text-c-on-surface-variant">
|
||||||
Javaaaaaa!!!!!
|
Java forever and ever
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
"../templates/**/*.{html,js}",
|
"./src/main/resources/templates/**/*.{html,js}",
|
||||||
"../static/**/*.{html,js}",
|
"./src/main/resources/static/**/*.{html,js}",
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
Loading…
Reference in New Issue
Block a user