|
|
@@ -21,7 +21,7 @@ import { JsonSchemaEditor } from '@flowgram.ai/form-materials'
|
|
|
If customization of components is required (e.g., changing text, styles, or business logic), it is recommended to **add the material source code to the project for customization via CLI**:
|
|
|
|
|
|
```bash
|
|
|
-npx @flowgram.ai/form-materials
|
|
|
+npx @flowgram.ai/form-materials@latest
|
|
|
```
|
|
|
|
|
|
After running, the CLI will prompt the user to select the material to add to the project:
|
|
|
@@ -36,7 +36,7 @@ After running, the CLI will prompt the user to select the material to add to the
|
|
|
Users can also directly add the source code of a specified material via CLI:
|
|
|
|
|
|
```bash
|
|
|
-npx @flowgram.ai/form-materials components/json-schema-editor
|
|
|
+npx @flowgram.ai/form-materials@latest components/json-schema-editor
|
|
|
```
|
|
|
|
|
|
After the CLI runs successfully, the relevant materials will be automatically added to the `src/form-materials` directory in the current project.
|