Common Lisp web application using Tailwind CSS for styles bootstraped with Caveman
You need Node.js installed in your machine, since the build scripts for Tailwind CSS require the npx
program.
(ql:quickload :tailwind-demo)
(tailwind-demo:start :port 3000)
git clone https://github.com/rajasegar/cl-tailwind-demo
There are two script files build-css.sh
and build-prod-css.sh
for building dev and prod env CSS assets.
Just run the respective scripts as per your env.
For development environment
./build-css.sh
For production environment
./build-prod-css.sh
Since you are using Tailwind CSS you most probably don't need any custom css, because Tailwind has got a ton of utility classes
you can directly use. But if you feel the need to add custom css, just append them to the file src/tailwind.css
.
The build scripts will take this file, compile and produce the output css into static/css/main.css
.
- Rajasegar Chandran
Copyright (c) 2021 Rajasegar Chandran