tigawanna / old-bonita

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BONITA CLI

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:

React

- 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

You can also add new pages to your project using

bonita page [PageName]

example

pnpm bonita page about

adds the files

  • about/AboutLayout.tsx
  • about/AboutPage.tsx

In tanstack router it also adds the config file and imports it into the main router definition

Redwood and rakkas support is still a work in progress.

About


Languages

Language:TypeScript 100.0%