Replies: 2 comments 2 replies
-
You'd want to run the CLI again after making changes. When developing, you can use the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I created a script to automatically compile input.css to tailwind-202502.css when building a SpringBoot project through IntelliJ.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Spring Boot + thymeleaf + tailwindcss v4 problem
I encountered a problem while creating a project by linking spring boot, thymeleaf, and tailwind v4, so I am reporting it here.
I structured my project as follows:
Created a frontend folder under the project
I created a nodejs project here
Then I created an input.css file and coded it as follows:
Installed tailwind dependency
The generated package.json is as follows:
I created the tailwind-202502.css file using the following command:
I confirmed that the /src/static/css/tailwind-202502.css file was created.
Part of the generated file
I wrote the html as follows
The final result was that the tailwind class was not applied at all.
Beta Was this translation helpful? Give feedback.
All reactions