This repository provides an easy-to-follow script to set up a basic TailwindCSS project. TailwindCSS is a utility-first CSS framework that allows you to build modern websites with ease.
Before running the script, ensure you have the following installed:
Clone the Repository:
git clone https://github.com/AlefAlfa/TailwindSetupAutomation.git
Run the Script:
Execute the provided script (e.g. setup.sh
). This will set up the necessary directories and files for a basic TailwindCSS project.
Here's a breakdown of the provided script:
tailwind.config.js
file which contains configuration details.dist
and src
directories.input.css
and output.css
files. The input.css
file imports Tailwind's base, components, and utilities. The generated styles will be placed in output.css
.input.css
file and regenerates the output.css
accordingly.After the setup:
index.html
located in the src
directory in your preferred browser.input.css
and see them reflect in real-time in output.css
due to the -watch
flag.Feel free to fork this repository, make changes, and submit Pull Requests. For major changes, please open an issue first to discuss the proposed change.
This project is open-source and available under the MIT License.