To compile the Tailwind CSS assets in your project, run the following command:
npx tailwindcss -i ./src/main.css -o ./dist/main.css --minifyThis will take the main.css file located in the src directory, process it with Tailwind CSS, and output the minified result to the dist directory.
If you want to make changes to your Tailwind CSS files and see the results in real-time during local development, run the following command:
npx tailwindcss -i ./src/main.css -o ./dist/main.css --watchThis command will watch for any changes in the main.css file and recompile the output file automatically whenever a change is detected.
Ensure that you have Node.js and npm installed on your machine. You can install Tailwind CSS via npm if you haven't done so already:
npm installFor more information, refer to the Tailwind CSS documentation.