A named base URL for environment-specific URL resolution.
Multiple entries allow the same route config to produce different URLs per environment (production, staging, preview).
const baseUrls: BaseUrlEntry[] = [ { name: 'production', url: 'https://example.com', isDefault: true }, { name: 'staging', url: 'https://staging.example.com' }, { name: 'preview', url: 'https://preview.example.com' },] Copy
const baseUrls: BaseUrlEntry[] = [ { name: 'production', url: 'https://example.com', isDefault: true }, { name: 'staging', url: 'https://staging.example.com' }, { name: 'preview', url: 'https://preview.example.com' },]
Optional
A named base URL for environment-specific URL resolution.
Multiple entries allow the same route config to produce different URLs per environment (production, staging, preview).
Example