remove component
Learn how to remove a component from your project.
This command removes one or more components from your project, regenerating type definitions accordingly.
Usage
This command has the following syntax:
croct remove component <components>Example
Remove a component interactively:
npm
npx croct@latest remove componentRemove a specific component:
npm
npx croct@latest remove component my-componentRemove multiple components at once:
npm
npx croct@latest remove component hero-banner sidebar-ctaArguments
- components(optional)Array<string>
One or more components to remove, separated by spaces.
If omitted, the CLI prompts you to select components interactively.
Options
This command only accepts global options.