---
url: "https://vueda.dev/v3/reference/api/js/router/routerComponent/functions/setCrudComponents.md"
title: "setCrudComponents"
---

# setCrudComponents

## Overview

Merges custom CRUD view components into the global registry, overriding defaults.

## Signature

`setCrudComponents(customComponents)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-customComponents">customComponents</span> | `object` | yes | A map of action names to lazy component importers. |

### Returns

`void`

## Source

`client/lib/router/routerComponent.js:24`
