2.0.3 • Published 2 years ago

@sarathadhi/cli v2.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

SARA CLI

A perfect cli for all the developers who are looking for a common CLI that installs both react and tailwindcss or next and tailwindcss and automatically configure the tailwind.config.js.

Getting Started

npm i -g @sarathadhi/cli

sara --help

JavaScript or TypeScript Template

  • sara init --js for JavaScript

  • sara init --ts for TypeScript

To install React and Tailwindcss

  • sara init --js for JavaScript

  • sara init --ts for TypeScript

  • After this message Installed create-react-app successfully., it will ask whether to install tailwind or not. If yes, select Tailwind CSS, else select Plain project

  • After installing successfully, it will automatically configure the tailwind.config.js

  • At last it will ask whether to open in VS Code or not. Click yes to open the project in VS Code.

To install Next and Tailwindcss

  • sara init --js

  • Select Next and enter a project name or ./ to install in current directory.

  • Follow the same steps as above