Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 2.22 KB

README.md

File metadata and controls

55 lines (39 loc) · 2.22 KB

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

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

image
  • 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

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

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

image

To install Next and Tailwindcss

  • sara init --js

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

image
  • Follow the same steps as above