function

createAdminApplicationConfig

Create the Vite config for a routed Ridu admin application.

Example

ts
export default createAdminApplicationConfig({
  outDir: "../internal/adminassets/dist",
  schemaReloadSignal: "../.ridu/admin-schema.reload",
  proxyTarget: process.env.RIDU_DEV_API,
});

Arguments

ArgumentTypeDescription
optionsAdminApplicationConfigOptionsThe options value.

Returns

The declared result.

UserConfigFnObject

How it works

Sets the canonical /admin/ base by default, Svelte runes, content-derived CSS hashes, UnoCSS, icons, collision-free application and framework source aliases, Svelte/Bits UI deduplication, schema-reload handling, and optional /api proxying.

Full signature

Related types