How can I compile and use tailwind css while offline? As in, have the full tailwind css and purge it to only what I require for my website, like normal, but with no internet access.
I’m definitely inexperienced in tailwind, so I first tried to just get the full css file, but I was unable to even get that far. I tried with these terminal commands:
npm install tailwindcss
npx tailwindcss init
npx tailwindcss build styles.css -o output.css
Which gave me a partial file, given that styles.css contained:
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';