function
createAdminApplicationConfig
Create the Vite config for a routed Ridu admin application.
Example
export default createAdminApplicationConfig({
outDir: "../internal/adminassets/dist",
schemaReloadSignal: "../.ridu/admin-schema.reload",
proxyTarget: process.env.RIDU_DEV_API,
});Arguments
| Argument | Type | Description |
|---|---|---|
options | AdminApplicationConfigOptions | The options value. |
Returns
The declared result.
UserConfigFnObjectHow 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
function createAdminApplicationConfig(
options: AdminApplicationConfigOptions,
): UserConfigFnObjectRelated types
AdminApplicationConfigOptionsRequired output/reload paths plus focused Vite and Svelte overrides.