Tailswift
Tailswift is a CLI tool for installing TailwindCSS and generating the configuration file for your React project.
Features
- Installs the latest version of TailwindCSS
- Generates the configuration file automatically
- Adds Tailwind directives to your CSS file automatically
- Currently Supports React (Create React App)
Installation
To install the package, use the following command:
npm install -g tailswift
Usage
To use Tailswift, navigate to your React project's root directory and run the following command:
npx tailswift init
TailSwift will prompt you to select your preferred framework (currently only React is supported), and then automatically install TailwindCSS, generate the config file, and add the necessary directives to your project's CSS file.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This package is open source and available under the MIT License. Feel free to use, modify, and distribute this package as you see fit.