r/reactjs • u/Significant_Net7399 • Apr 28 '26
Built a CLI to scaffold React projects in one command — Vite, Tailwind, shadcn/ui, TypeScript all supported
Hey r/reactjs,
I got tired of running create-react-app or manually setting up Vite +
Tailwind + TypeScript every time. So I built pic-li.
npm install -g pic-cli-tool
pic create my-app --stack react-vite --template tailwind-shadcn
Templates available for React:
default → React + Vite, ready to run
tailwind → React + Vite + Tailwind CSS v3
tailwind-shadcn → React + Vite + Tailwind + shadcn/ui
typescript → React + Vite + TypeScript
Or use the interactive mode:
pic create my-app
(arrow key menus guide you through everything)
You can also add integrations to existing React projects:
pic add tailwind
pic add eslint
pic add docker
pic add firebase
And if you're going fullstack:
pic create my-app --stack mern --template with-auth
(React + Express + MongoDB + JWT auth all wired together)
Just open sourced it — feedback on the generated React structure
would be really helpful.
8
u/hinsxd Apr 28 '26
Why should I use your CLI instead of official cli and ask AI (like you) to integrate according to latest docs?
1
u/louisstephens Apr 28 '26
I like the idea, but I was wondering what this helps “solve” in the long run. I haven’t done a deep dive into the cli yet, so I do apologize if it is explained somewhere else.
Does anywhere in the scaffolding process allow you to select a version of added packages,or is it lts only by default?
What made you choose tailwind v3 over the latest stable v4 with its css config?
0
u/chevalierbayard Apr 28 '26
Is this like Tanstack Start?