Nerds-Who-Code / Mental-Health-Tracker

mental-health-tracker.vercel.app
MIT License
5 stars 6 forks source link

Added TailWind command to npm scripts #53

Closed steph-koopmanschap closed 2 years ago

steph-koopmanschap commented 2 years ago

Added the command to build the Tailwind CSS to NPM scripts. In the client folder you can now run the command below to build/compile the tailwind css.

npm run tailwind

In the project root folder you can run the command. Which will start the React Client, The Tailwind CSS builder, and the server at the same time.

npm start

In both cases the base command that runs tailwind is:

npx tailwindcss build -i ./src/index.css -o ./dist/output.min.css --watch --minify
med4kat commented 2 years ago

Great! Many thanks!