Skip to content

ShahFH/Auto_generate_react_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

#📌 Auto_generate_react_app

React App with Tailwind CSS Setup Script

This script automates the process of setting up a React app with Tailwind CSS installed. It performs the following steps:

  1. Sets up a new React app using Create React App (CRA).
  2. Installs Tailwind CSS and its dependencies.
  3. Creates a Tailwind CSS configuration file.
  4. Updates the Tailwind CSS configuration to include file purging.
  5. Creates a PostCSS configuration file.
  6. Updates the index.css file to import Tailwind CSS styles.
  7. Updates the index.js file to import the updated index.css file.
  8. Starts the development server.

Prerequisites

Before using this script, make sure you have the following installed:

Usage

  1. Clone the repository or copy the script to your local machine.
  2. Open a terminal or command prompt in the directory where the script is located.
  3. Run the script using the command: This will execute the script and set up the React app with Tailwind CSS installed.
  4. Follow the instructions printed in the terminal to continue with the React app setup.

Customization

Feel free to modify the script to fit your specific requirements. You can customize the installation process, add additional configurations, or include other dependencies based on your project needs.

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages