Skip to content

bseber/springboot-thymeleaf-tailwindcss

Repository files navigation

SpringBoot - Thymeleaf - Tailwindcss

demo app skeleton using

Development

start java application:

./mvnw spring-boot:run

npm tasks

  • npm run build
    • build dev bundle of stylesheets (not minified and not purged)
  • npm run dev
    • start watching files and compile it on change

Note that the npm tasks are building development bundles by default.
If you want to have optimized bundles you can set the NODE_ENV environment like NODE_ENV=production npm run build.
(which the maven build does by default)