create-react-admin

4.16.17 • 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.

/create-react-admin/

    Package Sidebar

    Install

    npm i create-react-admin

    Weekly Downloads

    363

    Version

    4.16.17

    License

    MIT

    Unpacked Size

    115 kB

    Total Files

    89

    Last publish

    Collaborators

    • fzaninotto
    • djhi
    • slax57