- install tailwind & princexml
- find a way to have hmr in public folder
- generate tailwind -
bun tailwind:watch
- run the book on web -
bun dev
(optional) - generate a pdf -
bun nodemon
run bun start
to generate css using tailwind (bun prestart
), convert chapter#/index.md
files to index.html
, and finally generate a pdf using princexml
.
note: you can ignore
public/
folder entirely as it gets generated.