2.0.3 • Published 4 years ago
@sarathadhi/cli v2.0.3
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 --jsfor JavaScriptsara init --tsfor TypeScript
To install React and Tailwindcss
sara init --jsfor JavaScriptsara init --tsfor TypeScript
After this message
Installed create-react-app successfully., it will ask whether to install tailwind or not. If yes,select Tailwind CSS, else selectPlain 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
yesto open the project in VS Code.
To install Next and Tailwindcss
sara init --jsSelect
Nextand enter a project name or./to install in current directory.
Follow the same steps as above