An example development environment setup to build Keycloak themes
Start required container (keycloak+postgres) using the follow command:
./scripts/start.sh
Access the Administration Console via https://localhost:8080/auth/
This step is optional, although I strongly suggest extracting the themes from the container. They are often the only reliable source on how things are implemented.
./scripts/exportThemes.sh
Themes are extracted to ./themes/keycloak-provided-themes
.
During development run
npm run build:tailwind-example:dev
Before using it in production run
npm run build:tailwind-example
(this will use all the optimization features of Tailwind)