This will create a tailwind.config.js file
Edit the content part to locate your html, js files etc. Any file that wants to use taiwlindcss

Add the tailwind directive to your css (create a file and call it input.css where you usually have your css files

Start the tailwind build process with the following cli command. Note input.css and its directory. Output.css is where the generated css will be stored so you can as well modify the directory
npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
After that is done, You can connect the html files via the link tag just as you would for normal css
