keycloakify / docs.keycloakify.dev

📖 Keycloakify documentation website
https://docs.keycloakify.dev
2 stars 16 forks source link

Taiwlind support #11

Open pawelkrystkiewicz opened 3 months ago

pawelkrystkiewicz commented 3 months ago

Hi :wave: For Tailwind to work with this, is it enough if I set this up as with any regular vite app? Are there any more steps necessary?

pawelkrystkiewicz commented 3 months ago

I can confirm it works with basic setup per Tailwind docs with some notes:

  1. A bit different .css files setup. Added src/globals.css and imported it in src/**/KcPage.tsx
  2. To make this work with storybook, I had to follow the instructions here https://storybook.js.org/recipes/tailwindcss

Works in local testing docker via npx keycloakify start-keycloak