Skip to content

stevenrhett/react-setup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Project Setup Script

This script automates the creation of a new React project with Vite, Tailwind CSS, and DaisyUI. It removes the default CSS files, sets up Tailwind CSS, and starts a local development server.

Prerequisites

Before you begin, ensure you have the following installed:

Installation

Clone this repository:

git clone https://github.com/stevenrhett/react-setup-script.git

Navigate into the project directory:

cd react-setup-script

Make the script executable:

 chmod +x setup-react-project.sh

Usage

Run the script to create a new project:

./setup-react-project.sh

You will be prompted to enter the project name. The script will set up the project, install dependencies, and start the development server.

Alt text

Example

./setup-react-project.sh
Enter your project name: my-new-project

Alt text

This will:

Alt text

  • Create a new Vite + React project
  • Set up Tailwind CSS and DaisyUI
  • Install all dependencies
  • Start the development server at http://localhost:5173

Alt text

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages