Why does my tailwind output file not include the utilities and components

You need to add a config js file for the tailwind engine, inside the config file use content attribute to define where is your HTML or JS files, the new engine automatically looks inside these files and compiles only the classes that you used.

Check this video for more information:https://youtu.be/mSC6GwizOag?t=22


try this :

npx tailwindcss-cli@latest build ./src/styles.css -o ./public/styles.css

ps: the styles.css in the public folder is the output.css