create-react-admin

4.16.16 • Public • Published

create-react-admin

A CLI to bootstrap a new react-admin application.

Usage

npm create react-admin@latest my-app
# or
yarn create react-admin my-app

You'll be asked to choose a data provider (optional), an auth provider (optional). You may also setup the resources you want initially.

Development

Build the project with the following command at the monorepo root:

make build-create-react-admin

In another directory, run:

./react-admin/node_modules/.bin/create-react-admin my-admin

The above command assume you cloned react-admin in the react-admin directory and you are running the command in this directory parent.

To test the package as if it was published:

cd packages/create-react-admin
npm pack
tar -xvzf create-react-admin-<version>.tgz -C ~/
cd ~/package
npm install
./lib/cli.js test-cra

Miscellaneous

This package is MIT licensed. Sponsored by Marmelab and Anthony Chan.

Readme

Keywords

none

Package Sidebar

Install

npm i create-react-admin

Weekly Downloads

438

Version

4.16.16

License

MIT

Unpacked Size

121 kB

Total Files

97

Last publish

Collaborators

  • fzaninotto
  • djhi
  • slax57