Skip to content

Commit cb76cd0

Browse files
committed
Fix installer command in help
1 parent f758e2a commit cb76cd0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/create-react-admin/src

packages/create-react-admin/src/app.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ export default function App({ name = 'my-admin' }: Props) {
127127
</Text>
128128
<Text>
129129
Start the app in development mode by running{' '}
130-
<Text bold>npm dev</Text>.
130+
<Text bold>
131+
{state.installer === 'npm' ? 'npm run' : 'yarn'} dev
132+
</Text>
133+
.
131134
</Text>
132135
<Box marginBottom={1}>
133136
{helpMessages.current.map(line => (

0 commit comments

Comments
 (0)