Skip to content

Commit 251f1b9

Browse files
docs: add automatic migration section to community CLI guide (#518)
1 parent ffedb09 commit 251f1b9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

website/src/docs/getting-started/migrating-from-community-cli.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ import { PackageManagerTabs } from 'rspress/theme';
22

33
# Migrating from Community CLI
44

5+
## Automatic Migration
6+
7+
You can automate all the migration steps below by running the following command in your existing React Native project. The CLI will detect your project and guide you through the migration process interactively, automatically updating all necessary files and configurations.
8+
9+
<PackageManagerTabs command="create rock" />
10+
11+
## Manual Migration
12+
13+
If you prefer to do it manually or encounter any issues, follow the steps below.
14+
515
1. Install dev dependencies:
616

717
<PackageManagerTabs command="install -D rock @rock-js/plugin-metro @rock-js/platform-android @rock-js/platform-ios" />

0 commit comments

Comments
 (0)