Ultimate CLI tool for frontend frameworks
run
npx/pnpm dlx/yarn bonita [add] or [page]
you can also add it asadev dependancy
npm i -D bonita
yarn add -D bonita
pnpm i -D bonita
- Adding tailwind
npx bonita add tailwind
yarn bonita add tailwind
pnpm dlx bonita add tailwind
This command currently works for
- tailwind
- pandacss
- tanstack
Currently supported frameworks:
- Vite SPA
- Next.js
- Redwood
- Rakkasjs
running
bonita add tanstack
In Nextjs or rakkas will only add tanstack query ,and will add query + router in vite SPA
sub commands
- route : generate a route , which will create boilerplate for
- The route directory
- a layout file
- a route file
- a dynamic route file
bonita gen route Route1 Route2
example
pnpm bonita gen route user about
to generate the user and about routes
- model: 🚧
Currentlt only supports rakkasjs
- Rakkasjs will pull in a trpc + prisma + tailwind + typescript template for now , fine grained choice might be added later