create-raap-app
v2.0.2
Published
CLI to scaffold React Antd Admin Panel projects
Maintainers
Readme
create-raap-app
CLI to scaffold React Antd Admin Panel projects
Quickly create a new admin panel project with react-antd-admin-panel.
Usage
npx create-raap-app my-admin-appOr with npm:
npm create raap-app my-admin-appTemplates
Basic (default)
Minimal setup with:
- React 19 + TypeScript
- Vite for development
- Ant Design 6
- react-antd-admin-panel
- Basic routing setup
- Example List component
npx create-raap-app my-app --template basicAuth
Everything in Basic plus:
- Authentication setup
- Login page
- Protected routes
- User context
- JWT token handling example
npx create-raap-app my-app --template authOptions
npx create-raap-app <project-name> [options]
Options:
-t, --template <name> Template to use (basic, auth) [default: basic]
-h, --help Display help
-V, --version Display versionWhat's Included
Each template includes:
my-app/
├── src/
│ ├── components/ # Reusable components
│ ├── pages/ # Page components
│ ├── App.tsx # Main app component
│ └── main.tsx # Entry point
├── package.json
├── tsconfig.json
├── vite.config.ts
└── index.htmlAfter Creation
cd my-app
npm install
npm run devThen open http://localhost:5173 to see your app.
Requirements
- Node.js 18+
- npm, yarn, or pnpm
Related
- react-antd-admin-panel - The core library
- Ant Design - UI component library
License
MIT
