This is a simple project to demonstrate how to use tailwindcss with ZK framework. It contains several examples about animations and transitions.
mvn jetty:run
Just follow the steps with Tailwind CLI
- Install Tailwind CSS
npm install -D tailwindcss
npx tailwindcss init
- configure
zul
into template paths intailwind.config.js
- Add the Tailwind directives to your CSS
- Start the Tailwind CLI build process
npx tailwindcss -i ./src/main/webapp/css/input.css -o ./src/main/webapp/css/output.css --watch
- Start using Tailwind css in your zul
After starting the build process, it monitors all zul for CSS class you use and keep producing the output.css file based on the classes you use.