2.0.7 ā€¢ Published 1 year ago

create-tailwind-react v2.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

šŸš€ Create a React-Tailwind Project

This repository provides a few convenient scripts to create a new React project using Vite and configure it with Tailwind CSS and TypeScript. It also adds HeadlessUI and HeroIcons so that TailwindUI components work 'out of the box'. Choose the version that suits your preferences:

  • NPX usage
  • Node.js Version (create-tailwind-react.js).

Usage

Before running any of the scripts or even the npm version, make sure you have node.js installed. If you haven't installed node yet, run brew install node in your terminal( Mac). For other systems please use built in package managers or find installers for your system type located at Node.js.org. If you have already installed Node.js, please ensure that you have the latest version installed, as older versions may not function correctly. Verified to work on Node.js version 18.6 and NPM version 8.14 and higher.

šŸ“¦ NPX usage (RECOMMENDED)

In a terminal run the following:

npx create-tailwind-react <your-project-name>

Node.js Version

  1. Install Node.js on your machine if you haven't already.
  2. Run npm i -g create-tailwind-react to install globally on your machine.
  3. Run create-tailwind-react <your_project_name> to create a new React project with Vite, install Tailwind CSS and its dependencies, and update the project configuration files.

Keep in mind that you will have to manually update when it is locally installed.

All versions will create a new React project with Vite, install Tailwind CSS and its dependencies, and update the project configuration files.

After running the script, start using Tailwind's utility classes to style your content! šŸŽØ

šŸ’” Don't forget to check the generated tailwind.config.js and src/index.css files.

Start your engines! šŸŽļø

Start the local dev server:

npm run dev

šŸŽ‰ Happy coding! šŸ„³

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago