> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mercurjs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dashboard SDK

> The Vite plugin that powers admin and vendor panel extension — file-based routing, virtual modules, and block resolution.

<Note>
  This reference is being written. The outline below is the intended structure.
</Note>

<Info>
  **Not Medusa's admin-vite-plugin.** The dashboard SDK is Mercur's own extension framework for both panels — it scans `src/routes/**/page.tsx` files, generates navigation, and injects everything through `virtual:mercur/*` modules at build time. Medusa's `defineWidgetConfig` / `defineRouteConfig` and widget zones are not part of this model. Start with [Extending Panels](/rc/resources/customization/extending-panels) for the authoring guide; this page covers the plugin's internals and options.
</Info>

## What it does

File-based routing, virtual route modules, and block resolution for the admin and vendor panels.

## Setup in a host app

Registering `mercurDashboardPlugin` in a Vite app.

## Configuration options

Backend and vendor URLs, i18n, and build-time config.

## Extension entry points

`admin_ui` and `vendor_ui` entry points exported by block packages.

## Next steps

<CardGroup cols={2}>
  <Card title="Extending the panels" href="/rc/resources/customization/extending-panels" />

  <Card title="API client" href="/rc/tools/api-client" />
</CardGroup>
