remove slot

Learn how to remove a slot from your project.

This command removes one or more slots from your project, regenerating type definitions and fallback content accordingly.

Usage

This command has the following syntax:

croct remove slot <slots>

Example

Remove a slot interactively:

npx croct@latest remove slot

Remove a specific slot:

npx croct@latest remove slot hero-banner

Remove multiple slots at once:

npx croct@latest remove slot hero-banner sidebar-cta

Arguments

slots(optional)
Array<string>

One or more slots to remove, separated by spaces.

If omitted, the CLI prompts you to select slots interactively.

Options

This command only accepts global options.