最後活躍 1728989499

React-admin-readme-5.sh 原始檔案
1# Go to the folder of your client app
2$ cd /code/path/to/myapp/
3
4# Use the latest version of yarn package manager
5$ corepack enable && yarn set version stable
6
7# Replace the npm-installed version with a symlink to your local version
8$ yarn link /code/path/to/react-admin/packages/react-admin
9
10# If you modified additional internal packages in the react-admin monorepo, e.g. ra-core, also make a link
11$ yarn link /code/path/to/react-admin/packages/ra-core
12
13# Build all of the react-admin package distribution
14$ cd /code/path/to/react-admin/ && make build
15
16# Return to your app and ensure all dependencies have resolved
17$ cd /code/path/to/myapp/ && yarn install
18
19# Start your app
20$ yarn start